public void testDecisionList() { DataSet ds = DataSetFactory.getRestaurantDataSet(); ICollection <aima.net.learning.inductive.DecisionListTest> dlTests = new DecisionListTestFactory() .createDLTestsWithAttributeCount(ds, 1); Assert.AreEqual(26, dlTests.Size()); }
public DecisionListLearner(string positive, string negative, DecisionListTestFactory testFactory) { this.positive = positive; this.negative = negative; this.testFactory = testFactory; }