Minimal Entropy Partitioning
MartCronos
New Altair Community Member
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?
Thanx
Ignacio
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?
Thanx
Ignacio
Tagged:
0
Answers
-
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,
Ingo0