RapidMiner 9.7 is Now Available

Lots of amazing new improvements including true version control! Learn more about what's new here.

CLICK HERE TO DOWNLOAD

"Multinominal class -

alimayalimay Member Posts: 6 Contributor II
edited May 2019 in Help
Hi again!

Simple question.. Again searched for the answer but no luck. Here we go:

I have a data set with multinominal class label. I want to use the regular SVM operator as my learning algorithm. Now, I put the SVM operator inside a cross validation block, an expected error is reported: SVM cannot handle multinominal class labels. Then I want to use one of the quick fixes, which seem very handy, polynomial by binomial classification (1 vs 1). When I chose this, as expected, it replaces the SVM which was on the training side of the cross validation with a polynomial by binomial classification operator, and puts the SVM inside it. Everything is fine until now. Then I use apply model at the other (right) side of the cross validation and as always put a performance (classification) operator next to it. Now it gets messy and says

1 error(s): Label and prediction must be of the same type but are polynominal and nominal, respectively.

And no matter what I tried I could not manage to fix this.
Any help is sincerely appriciated.

Thanks.
Tagged:

Answers

  • homburghomburg Moderator, Employee, Member Posts: 114  RM Data Scientist
    Hi alimay.

    The warning message of the ClassificationPerformance operator seems to be a bit useless since it should not make a difference whether the label is polynominal or just nominal. Simply ignore the warning and try to run the process, everything should work without further problems.

    Regards,
       Helge
  • alimayalimay Member Posts: 6 Contributor II
    Hi,

    When I tried to run the process, everytime it got stuck at that performance operator and did not continue. So the application sort of hanged.
    When I changed the label to nominal it worked fine.

    Cheers
Sign In or Register to comment.