{
  "id": 70866,
  "title": "Weka/Meka",
  "url": "/competitions/quora-insincere-questions-classification/discussion/70866",
  "author_name": "Mali",
  "post_date": "2018-11-08T02:48:25.676000",
  "votes": -1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hi,\nI 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:</p>\n\n<p>weka.core.UnsupportedAttributeTypeException: weka.classifiers.bayes.NaiveBayesUpdateable: Cannot handle numeric class!</p>\n\n<p>my code is here 👍\nCRUpdateable classifier = new CRUpdateable();\nHoeffdingTree ht = new HoeffdingTree();\nclassifier.setClassifier(ht);\nclassifier.buildClassifier(trainingInstances);</p>\n\n<p>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?</p>\n\n<p>Thanks\nMali</p>",
  "messages": [
    {
      "id": 417271,
      "postDate": "2018-11-08T02:48:25.677Z",
      "content": "<p>Hi,\nI 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:</p>\n\n<p>weka.core.UnsupportedAttributeTypeException: weka.classifiers.bayes.NaiveBayesUpdateable: Cannot handle numeric class!</p>\n\n<p>my code is here 👍\nCRUpdateable classifier = new CRUpdateable();\nHoeffdingTree ht = new HoeffdingTree();\nclassifier.setClassifier(ht);\nclassifier.buildClassifier(trainingInstances);</p>\n\n<p>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?</p>\n\n<p>Thanks\nMali</p>",
      "rawMarkdown": "Hi,\nI 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:\n\nweka.core.UnsupportedAttributeTypeException: weka.classifiers.bayes.NaiveBayesUpdateable: Cannot handle numeric class!\n\nmy code is here 👍\nCRUpdateable classifier = new CRUpdateable();\nHoeffdingTree ht = new HoeffdingTree();\nclassifier.setClassifier(ht);\nclassifier.buildClassifier(trainingInstances);\n\nIf the HoeffdingTree is not for regression why it is default classifier in CRUpdateable, and if it is for regression why it doesn't work?\n\nThanks\nMali\n",
      "votes": -1
    },
    {
      "id": 418681,
      "postDate": "2018-11-10T12:12:41.530Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 418681,
      "author_name": "",
      "author_url": "",
      "post_date": "2018-11-10T12:12:41.530000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "417271": "Hi,\nI 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:\n\nweka.core.UnsupportedAttributeTypeException: weka.classifiers.bayes.NaiveBayesUpdateable: Cannot handle numeric class!\n\nmy code is here 👍\nCRUpdateable classifier = new CRUpdateable();\nHoeffdingTree ht = new HoeffdingTree();\nclassifier.setClassifier(ht);\nclassifier.buildClassifier(trainingInstances);\n\nIf the HoeffdingTree is not for regression why it is default classifier in CRUpdateable, and if it is for regression why it doesn't work?\n\nThanks\nMali\n",
    "418681": ""
  }
}