Minimal Entropy Partitioning

MartCronosMartCronos MemberPosts:3Contributor I
edited November 2018 inHelp
Hi I am trying to discretize some continuos attributes using MinimalEntropyPartitioning. The process fails with a "Null Pointer exception" message, activating debug mode gives the following:
Exception: java.lang.NullPointerException
Message: null
Stack trace:

com.rapidminer.operator.preprocessing.discretization.MinimalEntropyDiscretization.createPreprocessingModel(MinimalEntropyDiscretization.java:79)
com.rapidminer.operator.preprocessing.PreprocessingOperator.apply(PreprocessingOperator.java:63)
com.rapidminer.operator.Operator.apply(Operator.java:664)
com.rapidminer.operator.OperatorChain.apply(OperatorChain.java:377)
com.rapidminer.operator.Operator.apply(Operator.java:664)
com.rapidminer.Process.run(Process.java:612)
com.rapidminer.Process.run(Process.java:582)
com.rapidminer.Process.run(Process.java:572)
com.rapidminer.gui.ProcessThread.run(ProcessThread.java:61)

Any clues on where the problem is?

谢谢

Ignacio

Answers

  • IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University ProfessorPosts:1,751RM Founder
    Hi Ignacio,

    could it be that all attributes were removed from the example set since they were discretized into a single bin? In that case, you could try to deactivate "remove_useless".

    Cheers,
    Ingo
Sign InorRegisterto comment.