Weka RandomForest Predictor fails on string attributes

Hello

I am experiencing Weka Random Forest model failing on string attributes. I am getting an error:

ERROR     7)                                 Execute failed: java.lang.IllegalArgumentException: Value not defined for given nominal attribute!

My workflow is very simple. I use the same file for training and testing to illustrate the problem. Target column is column 0.

 

"MISMATCH","B"
"STRONG_MATCH","B"
"MISMATCH","B"
"MISMATCH","B"
"STRONG_MATCH","B"
"MISMATCH","B"
"STRONG_MATCH","B"
"MISMATCH","B"
"MISMATCH","B"

 

 

 

 

We are able to reproduce the problem and will fix it for the next release. Sorry for the hassle. The workaround is to move the target column to end of the table by using the Column Resorter.

We just released KNIME 2.11.2 which fixes the problem. Thanks again for reporting this issue and please keep us posted.