Esempio n. 1
0
 public void testDecisionList()
 {
     DataSet ds = DataSetFactory.getRestaurantDataSet();
     List<DLTest> dlTests = new DLTestFactory()
             .createDLTestsWithAttributeCount(ds, 1);
     Assert.AreEqual(26, dlTests.Count);
 }
Esempio n. 2
0
 public DecisionListLearner(String positive, String negative,
         DLTestFactory testFactory)
 {
     this.positive = positive;
     this.negative = negative;
     this.testFactory = testFactory;
 }
Esempio n. 3
0
 public DecisionListLearner(String positive, String negative,
                            DLTestFactory testFactory)
 {
     this.positive    = positive;
     this.negative    = negative;
     this.testFactory = testFactory;
 }
Esempio n. 4
0
        public void testDecisionList()
        {
            DataSet       ds      = DataSetFactory.getRestaurantDataSet();
            List <DLTest> dlTests = new DLTestFactory()
                                    .createDLTestsWithAttributeCount(ds, 1);

            Assert.AreEqual(26, dlTests.Count);
        }