NOTE: IF YOU WISH TO REPORT A NEW BUG, PLEASE POST A NEW QUESTION AND TAG AS "BUG REPORT". THANK YOU.

Weight by Information Gain Ratio

yzanyzan MemberPosts:66Unicorn
edited December 2019 inProduct Feedback
OperatorWeight by Information Gain Ratioreturns an unhelpful error message:
Process Failed
The setup does not seem to contain any obvious error, but...
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 (Chi2fails as well...).
Workaround:UseRemove Useless Attributesbefore feature weighting.


0
Up
0 votes

Sent to Engineering·Last Updated

RM-4298

Comments

  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community Manager
    @yzanlooks 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 MemberPosts:66Unicorn
    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".

    igr.xml 2K
  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM ModeratorPosts:2,959Community 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 Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University ProfessorPosts:1,751RM 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 InorRegisterto comment.