How to call "MultilayerPerceptron" operator?

IngoRM
IngoRM New Altair Community Member
edited November 5 in Altair RapidMiner
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
Tagged: