The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Can't we use gain ratio on random forest for numerical attributes?
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??
"Only least_square criterion can be used for numeric labels"
how to solve this??
Tagged:
0
Answers
regards,
Alex
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
Varun
https://www.varunmandalapu.com/
Be Safe. Follow precautions and Maintain Social Distancing