weka.core.UnassignedDatasetException when creating an unlabeled instance

前端 未结 3 379
迷失自我
迷失自我 2020-12-31 08:03

I trained an IBK classifier with some training data that I created manually as following:

ArrayList atts = new ArrayList();         


        
3条回答
  •  清酒与你
    2020-12-31 08:41

    See pages 203 - 204 of the WEKA documentation. That helped me a lot! (The Weka Manual is a pdf file that is located in your weka installation folder. Just open the doucmentation.html and it will point you to the pdf manual.)

    Copy-pasting some snippets of the code listings of Chapter 17 (Using the WEKA API / Creating datasets in memory) should help you solve the task.

提交回复
热议问题