Ejemplo n.º 1
0
        public void testDecisionList()
        {
            DataSet ds = DataSetFactory.getRestaurantDataSet();
            ICollection <aima.net.learning.inductive.DecisionListTest> dlTests = new DecisionListTestFactory()
                                                                                 .createDLTestsWithAttributeCount(ds, 1);

            Assert.AreEqual(26, dlTests.Size());
        }
Ejemplo n.º 2
0
 public DecisionListLearner(string positive, string negative, DecisionListTestFactory testFactory)
 {
     this.positive    = positive;
     this.negative    = negative;
     this.testFactory = testFactory;
 }