Rapidminer/Netbeans Integration Error

313 Views Asked by At

I am trying to load a ready rapidminer model through netbeans...The whole application seems to be running fine except when i get an error at this line of code:

IOContainer ioResult = process.run();
**ExampleSet resultSet = (ExampleSet) ioResult.getElementAt(0);**
ExampleTable mytable = resultSet.getExampleTable();

The error is this one...

com.rapidminer.Process run
INFO: Process C:\Users\Antonis\.RapidMiner5\repositories\Local Repository\yo.rmp      finished successfully after 0 s
**Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:        com.rapidminer.operator.learner.bayes.SimpleDistributionModel cannot be cast to   com.rapidminer.example.ExampleSet**

I don't know how to handle this...If you could please help me find a way to make it work...I am trying to fix it and i feel that i am sooo close...!!! thank you in advance for your ideas and time!!!

0

There are 0 best solutions below