AIMA.Test.Core.Unit.Learning.Learners.DecisionTreeTest.testStumpCreationForDataSet C# (CSharp) Méthode

testStumpCreationForDataSet() private méthode

private testStumpCreationForDataSet ( ) : void
Résultat void
        public void testStumpCreationForDataSet()
        {
            DataSet ds = DataSetFactory.getRestaurantDataSet();
            List<DecisionTree> dt = DecisionTree.getStumpsFor(ds, YES,
                    "Unable to classify");
            Assert.AreEqual(26, dt.Count);
        }