Step 2b. Decision tree classifier

Explanation

Try it out:

•      Create new java class ‘J48Classifier’

•      Copy content of ‘J48Classifier.java’ into this file

•      Set input files contact-lenses.arff and newinstances.arff

 

You should get the following output: output , plus the labeled records are written to the file ‘classified.arff’