Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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