Waikato / meka

Multi-label classifiers and evaluation procedures using the Weka machine learning framework.
http://waikato.github.io/meka/
GNU General Public License v3.0
200 stars 76 forks source link

Evaluation failed: "java.lang.indexOutOfBoundsException: Index: 0, Size: 0" #41

Open heoa opened 7 years ago

heoa commented 7 years ago

I do the following filters on numeric data such that

screen shot 2017-07-08 at 13 36 49

and when I try to classify I get the error

Evaluation failed: "java.lang.indexOutOfBoundsException: Index: 0, Size: 0"

screen shot 2017-07-08 at 13 33 12

I get the same error even with very small sample so the sample size is very unlikely the issue.

What is causing this indexOutIndex error in Classify of MEKA?

fracpete commented 6 years ago

Bit late, but... Without knowing the dataset, can't really tell what's going wrong.

jmread commented 6 years ago

I think I remember a similar question on the mailing list. This error usually happens when you do not specify how many labels are in the dataset. You need to do that either in the ARFF file or in the Explorer.

fracpete commented 6 years ago

Can you replicate the error and post the steps that cause this?