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