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
Hi Im getting the following error when using SMOTE upsampling with decision trees
Exception: java.lang.RuntimeException
Message: Cannot build average for different positive classes (At Risk/Good Standing).
Stack trace:
com.rapidminer.operator.performance.BinaryClassificationPerformance.buildSingleAverage(BinaryClassificationPerformance.java:395)
com.rapidminer.tools.math.Averagable.buildAverage(Averagable.java:137)
com.rapidminer.tools.math.AverageVector.buildAverages(AverageVector.java:131)
com.rapidminer.extension.concurrency.operator.validation.CrossValidationOperator.doWork(CrossValidationOperator.java:303)
com.rapidminer.operator.Operator.execute(Operator.java:1026)
com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
java.security.AccessController.doPrivileged(Native Method)
com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
com.rapidminer.operator.Operator.execute(Operator.java:1026)
com.rapidminer.Process.executeRoot(Process.java:1386)
com.rapidminer.Process.execute(Process.java:1327)
com.rapidminer.Process.run(Process.java:1300)
com.rapidminer.Process.run(Process.java:1186)
com.rapidminer.Process.run(Process.java:1139)
com.rapidminer.Process.run(Process.java:1134)
com.rapidminer.Process.run(Process.java:1124)
com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
Please advise.
Thank you
Message: Cannot build average for different positive classes (At Risk/Good Standing).
Stack trace:
com.rapidminer.operator.performance.BinaryClassificationPerformance.buildSingleAverage(BinaryClassificationPerformance.java:395)
com.rapidminer.tools.math.Averagable.buildAverage(Averagable.java:137)
com.rapidminer.tools.math.AverageVector.buildAverages(AverageVector.java:131)
com.rapidminer.extension.concurrency.operator.validation.CrossValidationOperator.doWork(CrossValidationOperator.java:303)
com.rapidminer.operator.Operator.execute(Operator.java:1026)
com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:812)
com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:807)
java.security.AccessController.doPrivileged(Native Method)
com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
com.rapidminer.operator.Operator.execute(Operator.java:1026)
com.rapidminer.Process.executeRoot(Process.java:1386)
com.rapidminer.Process.execute(Process.java:1327)
com.rapidminer.Process.run(Process.java:1300)
com.rapidminer.Process.run(Process.java:1186)
com.rapidminer.Process.run(Process.java:1139)
com.rapidminer.Process.run(Process.java:1134)
com.rapidminer.Process.run(Process.java:1124)
com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)
Please advise.
Thank you
Tagged:
0
Answers
Dortmund, Germany
Appreciate your support
thats usually ment by "positive' and "negative". Did you check that you have enough At Risk and Standing examples?
BR,
Martin
Dortmund, Germany
Scott