"Instantiate Weka learner (Was: Re: Using WEKA learner)"
evildesgar
New Altair Community Member
Hi
I am using RapidMiner5 and integrating it to a java application
When i try to create an operator of W-Apriori i can´t find the com.rapidminer.operator.learner.weka library.
This is my java code
Operator AprioriOperator = OperatorService.createOperator(com.rapidminer.operator.learner.);
but in this point i can´t find the weka reference library..
Do you know where i can find it ?. . or what i have to do to define a W-Apriori operator ??
Thanks
Edgar
I am using RapidMiner5 and integrating it to a java application
When i try to create an operator of W-Apriori i can´t find the com.rapidminer.operator.learner.weka library.
This is my java code
Operator AprioriOperator = OperatorService.createOperator(com.rapidminer.operator.learner.);
but in this point i can´t find the weka reference library..
Do you know where i can find it ?. . or what i have to do to define a W-Apriori operator ??
Thanks
Edgar
0
Answers
-
Hi,
there are no RapidMiner classes for the Weka classes. We use a factory pattern for that. Rather than passing the class names to OperatorService.createOperator, pass it a String. The value of the string must be the key of the operator. To find the key for a Weka operator, create a process and look into the XML for the particular operator.
Best,
Simon0