The RapidMiner community is on read-only mode until further notice. Technical support via cases will continue to work as is. For any urgent licensing related requests from Students/Faculty members, please use the Altair academic forum here.
Custom Operator integration
Hi all,
Does a custom operator necessarily have to be subclassed from Operator?
My custom operator is an adapted version of the BinominalClassificationPerformance subclassed from MeasuredPerformance.
The problem is, that it is not visible in RapidMiner after deployment while a second custom operator in the jar (TestOp) is visible.
The included operators.xml should be fine::
Best regards,
Alex
Does a custom operator necessarily have to be subclassed from Operator?
My custom operator is an adapted version of the BinominalClassificationPerformance subclassed from MeasuredPerformance.
The problem is, that it is not visible in RapidMiner after deployment while a second custom operator in the jar (TestOp) is visible.
The included operators.xml should be fine::
Any clue or workaround?
<operators>
<operator
name = "EnhancedClassificationPerformance"
class = "com.rapidminer.operator.performance.EnhancedClassificationPerformance"
description = "This operator delivers as output a list of performance values according to a list of selected performance criteria (for binominal classification tasks)."
group = "Validation"/>
<operator
name = "TestOp"
class = "myPackage.TestOp"
description = "Operator is subclassed from Operator and is visible in RapidMiner"
group = "Other"/>
</operators>
Best regards,
Alex
0
Answers
Take a look at the class BinaryClassificationPerformance and BinominalClassificationPerformanceEvaluatorr, both in the package com.rapidminer.operator.performance. One represents the operator you can add to a process, the other one calculates the performance measure and is hooked into the evaluator operator, which delegates the calculation.
hope this was helpful
Steffen
of course, that's it!
Works perfectly now...
Thanks for the quick reply!
Alex