Accesing Parameters of ClassificationPerformance

User: "rvaz"
New Altair Community Member
Updated by Jocelyn
Hi,

I'm currently integrating rapidminer in a java application.

I need to know how can I access the parameters in a PerformanceVector.
			    
                                  .
                                  .
                                  .
                      Operator Performance =
                      OperatorService.createOperator(BinominalClassificationPerformanceEvaluator.class);
   
    Performance.setParameter("main_criterion", "AUC");
   
    chain1.addOperator(NBmodel);
    chain2.addOperator(ModelApplier);
    chain2.addOperator(Performance);
   
    FixedSplitValidation.addOperator(chain1);
    FixedSplitValidation.addOperator(chain2);

   
    process.getRootOperator().addOperator(inputOperator);
    process.getRootOperator().addOperator(FixedSplitValidation);

    //double AUC = ...
At the end of the process I would like to save the AUC value in a variable.
Thanks for your time,

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "land"
    New Altair Community Member
    Hi,
    what about using the get CriteriaNames method for recieving the names and then use the getCriterion(int) method with the index of the appropriate name? You might ask the PerformanceCriterion getFitness to recieve the value.
    Please take a look at the java doc available at our project page at source forge for more details.

    Greetings,
      Sebastian