Open Mali-DS opened 5 years ago
Indeed, Meka does not explicitly support regression yet. Note that CR = Classifier Relevance, and 'buildClassifier' indicates it is building a classifier.
Best,
Jesse
Hi Jesse, Thanks for your reply, As I know Meka recently added MultiTargetClassifier to support regression, and CRUpdateable is one of classes to go in this way:( also it has MultiLabelClassifier to support classification)
public class CRUpdateable extends CR implements IncrementalMultiTargetClassifier
Regards, Mali
Hi, I am trying to use CRUpdateable for Multi target regression, and I found the CRUpdateable 's default classifier is HoeffdingTree, but when I call method as buildClassifier, it gives me this error:
weka.core.UnsupportedAttributeTypeException: weka.classifiers.bayes.NaiveBayesUpdateable: Cannot handle numeric class!
my code is here 👍 CRUpdateable classifier = new CRUpdateable(); HoeffdingTree ht = new HoeffdingTree(); classifier.setClassifier(ht); classifier.buildClassifier(trainingInstances);
If the HoeffdingTree is not for regression why it is default classifier in CRUpdateable, and if it is for regression why it doesn't work?
Thanks Mali