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
Minimal Entropy Partitioning


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
0
Answers
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