"Instantiate Weka learner (Was: Re: Using WEKA learner)"

evildesgarevildesgar Member Posts: 1 Contributor I
edited May 2019 in Help

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 ??



  • fischerfischer Member Posts: 439 Maven

    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.

Sign In or Register to comment.