NOTE: IF YOU WISH TO REPORT A NEW BUG, PLEASE POST A NEW QUESTION AND TAG AS "BUG REPORT". THANK YOU.
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

Weight by Information Gain Ratio

yzanyzan Member Posts: 66 Unicorn
edited December 2019 in Product Feedback
Operator Weight by Information Gain Ratio returns an unhelpful error message:
Process Failed<br>The setup does not seem to contain any obvious error, but...<br>
when one of the input attributes contains only missing values.

Proposed solution: Return 0 for attributes without any data.
Scope of the issue: The same issue applies to all weighting operators (Chi2 fails as well...).
Workaround: Use Remove Useless Attributes before feature weighting.


0
0 votes

Sent to Engineering · Last Updated

RM-4298

Comments

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    hi @yzan looks like a feature request as you're pointing out an error bubble that does work but clearly could be more helpful. :) Can you pls share an XML so I can replicate?
  • yzanyzan Member Posts: 66 Unicorn
    If you take the approach of returning an error (which is a valid solution), consider implementation of "realtime problem inspection", if it is technically possible at all. Reasoning: Unexpected process termination in the middle of a long run is unpleasing.

    Details: The issue was detected in RapidMiner 9.4 (where e.g.: Gini index returns java.lang.ArrayIndexOutOfBoundsException). In RapidMiner 9.5, it just returns "SEVERE: null".

  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    ah thank you. When I run that I do not get a red bubble - just a nasty "this process did not run" and a null pointer exception as you say. That's a bug.

    So there is some realtime problem inspection that has been in RapidMiner for, well, forever. :) But there is always room for improvement!

    Scott
  • IngoRMIngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
    If you take the approach of returning an error (which is a valid solution), consider implementation of "realtime problem inspection", if it is technically possible at all.
    By the way, to handle this kind of problem you can also put the (potentially) problematic operator(s) inside of a Handle Exception operator.  In this case the process termination in the middle of a long process would at least be avoided...
    Hope this helps,
    Ingo

Sign In or Register to comment.