🎉 🎉   RAPIDMINER 9.5 BETA IS OUT!!!   🎉 🎉

GRAB THE HOTTEST NEW BETA OF RAPIDMINER STUDIO, SERVER, AND RADOOP. LET US KNOW WHAT YOU THINK!

CLICK HERE TO DOWNLOAD

🦉 🎤   RapidMiner Wisdom 2020 - CALL FOR SPEAKERS   🦉 🎤

We are inviting all community members to submit proposals to speak at Wisdom 2020 in Boston.


Whether it's a cool RapidMiner trick or a use case implementation, we want to see what you have.
Form link is below and deadline for submissions is November 15. See you in Boston!

CLICK HERE TO GO TO ENTRY FORM

Can't we use gain ratio on random forest for numerical attributes?

ed1305ed1305 Member Posts: 8 Contributor I
edited March 6 in Help
my input to the random forest are all attributes of valuetype "real".I want to use gain ratio criteria here but it gives the followin error:
"Only least_square criterion can be used for numeric labels"
how to solve this??

Answers

  • hughesfleming68hughesfleming68 Member Posts: 249   Unicorn
    edited March 2
    You can use the the selector to chose least square as the criterion. Your random forest will the work on numeric data. It is the last one in the list and the only one that works.

    regards,

    Alex
    varunm1
  • varunm1varunm1 Moderator, Member Posts: 859   Unicorn
    HI @ed1305

    Gain ratio doesn't work on numerical attributes if base is J48. The base algorithm used is J48(java implementation of C4.5) in Rapidminer if you select gain ratio. So as @hughesfleming68 said you can select only least square for numeric attributes. If you want to use gain ration you can change the type of attribute if possible. 

    Correct me if I am wrong
    Regards,
    Varun
    Rapidminer Wisdom 2020 (User Track): Call for proposals 

    https://www.varunmandalapu.com/
    sgenzerIngoRM
Sign In or Register to comment.