How to call "MultilayerPerceptron" operator?

IngoRMIngoRM Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
Original message from SourceForge forum at http://sourceforge.net/forum/forum.php?thread_id=2034342&;forum_id=390413

Hello, 

How to call the "MultilayerPerceptron" operator from java: Exception in thread "main" com.rapidminer.tools.XMLException: Unknown operator class: 'MultilayerPerceptron'

We didn't find the operator in de API documentation.

Thanks a lot, 

Marcel


Answer by Ingo Mierswa:

Hello Marcel,

try

Operator operator = OperatorService.createOperator("W-MultilayerPerceptron");

Works for me at least for version 4.1 of RapidMiner. The "W-" indicates that the operator is originally derived from the Weka library. Of course you have to add the file weka.jar also to your classpath.

Cheers,
Ingo
Sign In or Register to comment.