The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

How to call "MultilayerPerceptron" operator?

IngoRMIngoRM Employee-RapidMiner, 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.