How can I call an operator from the rapidprom extension
Dear all,
I use the rapidprom extension of the rapidminer software to discover and analyze my logs. Now, I am trying to automate the process in which I import an xes log using the ImportLogOperator, and then create the corresponding petri net model using the InductiveVisualMinerOperator. In the main class of my program, I create an ImportXLogOperator instance:
"ImportXLogOperator importXesFile = new ImportXLogOperator(OperatorDescription description);"
The OperatorDescription class needs these attributes: (final String fullyQualifiedGroupKey, final String key, final Class<? extends Operator> clazz, final ClassLoader classLoader, final String iconName, final Plugin provider).
its my understanding that the attribute: "final Class<? extends Operator> clazz = mportXLogOperator.class.getClasses()" and "final ClassLoader classLoader=ImportXLogOperator.class.getClassLoader()".
Do you have any idea how to find the other attributes?
Thank you,
Kind regards.
Answers
Hi,
have you considered using the OperatorService (com.rapidminer.tools) to dynamically create Operators?
You can also do it within Execute Script:
Cheers,
Marcel