How to use Binary2MultiClassLearner

chenUser4321chenUser4321 Member Posts: 11 Contributor II
edited November 2018 in Help

I want to wrote code to do multi-label classification. However, many of the existig RM classifiers only support binominal label. Binary2MultiClassLearner seems to be reasonable choice that makes these classifiers do multi-label classification.

However, I could not figure out a clear way to write the codes from rapidminer-4.6-tutorial.pdf and the javadoc. I also did some search in RM discussion forum, but found results are not directly related to development.

Could I have some specific instructions of using this learner? A sample code that shows its usage is greatly appreciated!

Kindly regards,


  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531 Unicorn
    you have to connect an inner operator. See the RapidMiner GUI for understanding how it works in general: The binary2Mutliclass learner uses an inner binary learner to predict for example several one vs all settings and finally computes the output from the confidences.
    The used strategy depends on the parameters, but always an inner learner is applied.
    If you want to use this in the code, you have to manually create another learning operator and connect it with the inputs and outputs of the subprocess of the binary to multiclass learner.

Sign In or Register to comment.