Menu

#578 Decision Tree classifier has a problem in classifying instances

Chess
open
nobody
None
1
2020-06-12
2020-06-12
ahmed
No

I am doing feature construction and I want to use a decision tree (DT) classifier as evaluator for my results. I face a problem in that the DT could not classify a test instance. This makes the code throw the following exception
Exception in thread "main" net.sf.javaml.tools.weka.WekaException: java.lang.IllegalArgumentException: Value not defined for given nominal attribute!
I need to know how this happened while I have two nominal values for the class label

Discussion