System.out
.println("DecisionList Demo - Inducing a DecisionList from the Restaurant DataSet\n ");
System.out.println(Util.ntimes("*", 100));
DataSet ds = DataSetFactory.getRestaurantDataSet();
DecisionListLearner learner = new DecisionListLearner("Yes", "No",
new DLTestFactory());
learner.train(ds);
System.out.println("The Induced DecisionList is");
System.out.println(learner.getDecisionList());
int[] result = learner.test(ds);