🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to call "MultilayerPerceptron" operator?

User: "IngoRM"
New Altair Community Member
Updated by Jocelyn
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

Find more posts tagged with