// at this point there is a test that classifies some subset of examples
// with the same target value
DataSet matched = test.matchedExamples(ds);
DecisionList list = new DecisionList(positive, negative);
list.add(test, matched.getExample(0).targetValue());
return list.mergeWith(decisionListLearning(test.unmatchedExamples(ds)));
}
private DLTest getValidTest(List<DLTest> possibleTests, DataSet ds) {
for (DLTest test : possibleTests) {
DataSet matched = test.matchedExamples(ds);