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
[SOLVED] Extract weight-table from libSVM-model by javascript
Hallo Dataminers,
is there any way to extract the weighttable from model? I mean, i can see the table in RM but can't use is for further calculations?
I allready tried it by myself with the "execute script"-operator but stuck after a few lines of Java.
Thank you for help
is there any way to extract the weighttable from model? I mean, i can see the table in RM but can't use is for further calculations?
I allready tried it by myself with the "execute script"-operator but stuck after a few lines of Java.
import com.rapidminer.operator.learner.functions.kernel.JMySVMModel;I saw that some other people had the same problem but there isn't a good solution right now. It would be great if someone could help me out.
JMySVMModel model = input[0];
return model.createWeightsTable();
Thank you for help
0
Answers
Best regards,
Marius
We allready working with the Standard SVM but now I wanna try out the LibSVM.
It would be realy great if someone could help me.
Sticker
But it dosnt work if I use the class LibSVMModel. I use JMySVMModel instead.
So if someone wanna extract the Model from LibSVM, feel free to use this code : See you soon