No operator description 'W-MultilayerPerceptron'

laurab
laurab New Altair Community Member
edited November 5 in Community Q&A
Hi,

I am having trouble trying to use 'W-MultilayerPerceptron' in java.  I am initilaising rapidminer:

System.setProperty("rapidminer.home", "file:///C:/Rapid-I/RapidMiner-4.3");
RapidMiner.init();

And rapidMiner.jar and weka.jar are both on the build path. I am  trying to create the opertor as follows:

Operator model = OperatorService.createOperator("W-MultilayerPerceptron");
model.setParameter("L", "0.3"); //learning rate

But I always get the following error:

com.rapidminer.operator.OperatorCreationException: No operator description object given for 'W-MultilayerPerceptron'.

I really cant see what i am doing wrong?

Thanks Laura
Tagged:

Answers

  • land
    land New Altair Community Member
    Hi Laura,
    does this error occur if you use rapid miner operators?

    Greetings,
      Sebastian
  • laurab
    laurab New Altair Community Member
    Hi Sebastian,

    Thanks for getting back to me. I have fixed the error now thouhg.  I was not setting Rapidminer.home correctly. 

    I was setting:

    "file:///C:/Rapid-I/RapidMiner-4.3"

    but have changed it :

    "C:/Rapid-I/RapidMiner-4.3"

    and this works fine now.

    Thanks alot
    Laura