How to Extend RapidMiner 5: 8.2 Adding Custom Configurators

UrhixidurUrhixidur Member Posts: 40 Contributor II
edited November 2018 in Help
The example given in 8.2 is incomplete and erroneous.  On page 73 CRMConfigurator.getTypeId() returns "CRMConfig" but on page 74 the (unspecified!) operator's getParameterTypes() invokes new ParameterTypeConfigurable with a third argument of "crmconfig".  This will fail with a trace similar to this:

Nov 16, 2012 3:51:43 PM com.rapidminer.tools.OperatorService parseOperators
WARNING: Failed to register operator: rmx_CRM*** : crm_***
com.rapidminer.operator.OperatorCreationException: Operator cannot be constructed: 'crm_***(com.rapidminer.operator.***)': Unknown configurable type: crmconfig
at com.rapidminer.operator.OperatorDescription.createOperatorInstance(OperatorDescription.java:354)
On pp. 71-72, the CRMConfigurable class needs to override getTypeId() in order to return "CRMConfig", right?
Sign In or Register to comment.