πŸ₯³ RAPIDMINER 9.9 IS OUT!!! πŸ₯³

The updates in 9.9 power advanced use cases and offer productivity enhancements for users who prefer to code.

CLICK HERE TO DOWNLOAD

How to use Binary2MultiClassLearner

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

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,
Daozheng

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 2,531   Unicorn
    Hi,
    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.

    Greetings,
    Β  Sebastian
Sign In or Register to comment.