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
Accesing Parameters of ClassificationPerformance
Hi,
I'm currently integrating rapidminer in a java application.
I need to know how can I access the parameters in a PerformanceVector.
Thanks for your time,
I'm currently integrating rapidminer in a java application.
I need to know how can I access the parameters in a PerformanceVector.
At the end of the process I would like to save the AUC value in a variable.
.
.
.
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 = ...
Thanks for your time,
0
Answers
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