Setup Error Performance Operator

seshadotcomseshadotcom Member Posts: 33 Contributor II
edited November 2018 in Help
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

Answers

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,850   RM Engineering
    Hi,

    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
  • seshadotcomseshadotcom Member Posts: 33 Contributor II
    Hello 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)

  • Marco_BoeckMarco_Boeck Team Lead Software Engineering Administrator, Moderator, Employee, Member, University Professor Posts: 1,850   RM Engineering
    Hi,

    thanks for reporting this, I've created an internal ticket for the issue.

    Regards,
    Marco
Sign In or Register to comment.