+
Skip to content

CRUpdateable && HoeffdingTree #57

@Mali-DS

Description

@Mali-DS

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载