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
Setup Error Performance Operator
seshadotcom
Member Posts: 33 Contributor II
Hello Folks,
I updated my rapidminer to 5.3.008 and the following does not work anymore
I am using cross validation operator to split the data into testing and training..I use a decision tree for training and in testing section I use the Applymodel generated by the decision tree and check the performance.
Reproduce steps:
1.Use X Validation Operator to a dataset
2.Use decision tree in training section
3.Use Apply Model and Performance in the testing set.
4.Run the program
I am getting the following error , setup does not have any obvious error but you should check log for detailed message and in the logs I see the following:
May 30, 2013 10:14:00 AM SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Transaction_Join1[1] (Read Database)
+- Order_Header_Join1[1] (Read Database)
+- Join_T_OH[1] (Join)
+- Transaction_Join2[1] (Read Database)
+- State_copy[1] (Read Database)
+- Join_T_SC[1] (Join)
+- Transaction_Copy_Join3[1] (Read Database)
+- Order_Line_Copy[1] (Read Database)
+- Join_T_OL[1] (Join)
+- Join_T_SC_T_OL[1] (Join)
+- Join T_OH_T_SC[1] (Join)
+- Write CSV (2)[1] (Write CSV)
+- Set Role (3)[1] (Set Role)
+- Validation[1] (X-Validation)
subprocess 'Training'
==> | +- Decision Tree[1] (Decision Tree)
subprocess 'Testing'
+- Apply Model[0] (Apply Model)
+- Performance[0] (Performance (Classification))
May 30, 2013 10:14:00 AM SEVERE: java.lang.ArrayIndexOutOfBoundsException
I updated my rapidminer to 5.3.008 and the following does not work anymore
I am using cross validation operator to split the data into testing and training..I use a decision tree for training and in testing section I use the Applymodel generated by the decision tree and check the performance.
Reproduce steps:
1.Use X Validation Operator to a dataset
2.Use decision tree in training section
3.Use Apply Model and Performance in the testing set.
4.Run the program
I am getting the following error , setup does not have any obvious error but you should check log for detailed message and in the logs I see the following:
May 30, 2013 10:14:00 AM SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Transaction_Join1[1] (Read Database)
+- Order_Header_Join1[1] (Read Database)
+- Join_T_OH[1] (Join)
+- Transaction_Join2[1] (Read Database)
+- State_copy[1] (Read Database)
+- Join_T_SC[1] (Join)
+- Transaction_Copy_Join3[1] (Read Database)
+- Order_Line_Copy[1] (Read Database)
+- Join_T_OL[1] (Join)
+- Join_T_SC_T_OL[1] (Join)
+- Join T_OH_T_SC[1] (Join)
+- Write CSV (2)[1] (Write CSV)
+- Set Role (3)[1] (Set Role)
+- Validation[1] (X-Validation)
subprocess 'Training'
==> | +- Decision Tree[1] (Decision Tree)
subprocess 'Testing'
+- Apply Model[0] (Apply Model)
+- Performance[0] (Performance (Classification))
May 30, 2013 10:14:00 AM SEVERE: java.lang.ArrayIndexOutOfBoundsException
0
Answers
can you start RapidMiner from the console via the RapidMinerGUI script in the /RapidMiner/scripts folder and paste the exception here (the next RapidMiner version will have an error log which will make this rather tedious step much easier, but until then we have to do it the old fashioned way..)? I cannot reproduce it from your description so it has to be dependant on the data.
Regards,
Marco
Here are the details of the error
May 31, 2013 9:45:30 AM com.rapidminer.gui.ProcessThread run
SEVERE: Here: Process[1] (Process)
subprocess 'Main Process'
+- Transaction_Join1[1] (Read Database)
+- Order_Header_Join1[1] (Read Database)
+- Join_T_OH[1] (Join)
+- Transaction_Join2[1] (Read Database)
+- State_copy[1] (Read Database)
+- Join_T_SC[1] (Join)
+- Transaction_Copy_Join3[1] (Read Database)
+- Order_Line_Copy[1] (Read Database)
+- Join_T_OL[1] (Join)
+- Join_T_SC_T_OL[1] (Join)
+- Join T_OH_T_SC[1] (Join)
+- Write CSV (2)[1] (Write CSV)
+- Set Role (3)[1] (Set Role)
+- Validation[1] (X-Validation)
subprocess 'Training'
==> | +- Decision Tree[1] (Decision Tree)
subprocess 'Testing'
+- Apply Model[0] (Apply Model)
+- Performance[0] (Performance (Classification))
May 31, 2013 9:45:30 AM com.rapidminer.gui.ProcessThread run
SEVERE: java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at com.rapidminer.operator.learner.tree.criterions.InfoGainCriterion.get
Benefit(InfoGainCriterion.java:68)
at com.rapidminer.operator.learner.tree.criterions.GainRatioCriterion.ge
tBenefit(GainRatioCriterion.java:62)
at com.rapidminer.operator.learner.tree.criterions.GainRatioCriterion.ge
tNominalBenefit(GainRatioCriterion.java:51)
at com.rapidminer.operator.learner.tree.TreeBuilder.calculateBenefit(Tre
eBuilder.java:109)
at com.rapidminer.operator.learner.tree.TreeBuilder.calculateAllBenefits
(TreeBuilder.java:135)
at com.rapidminer.operator.learner.tree.TreeBuilder.buildTree(TreeBuilde
r.java:158)
at com.rapidminer.operator.learner.tree.TreeBuilder.learnTree(TreeBuilde
r.java:94)
at com.rapidminer.operator.learner.tree.AbstractTreeLearner.learn(Abstra
ctTreeLearner.java:119)
at com.rapidminer.operator.learner.AbstractLearner.doWork(AbstractLearne
r.java:152)
at com.rapidminer.operator.Operator.execute(Operator.java:855)
at com.rapidminer.operator.executor.ParallelUnitExecutor$OperatorExecuti
on.run(ParallelUnitExecutor.java:59)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
thanks for reporting this, I've created an internal ticket for the issue.
Regards,
Marco