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
Getting hold of the weights from LibSVM operator[SOLVED]
Chrisirgens
Member Posts: 14 Contributor II
Hi again,
As a new-boy I am still struggling with RapidMiner ver 5.1.
LibSVM provides a labeled ExampleSet and a Model object as outputs. The Model object contains the weight table. I cannot find any operator which enables me to isolate the weight table. For instance in RapidMiner ver 4.4 one could write operator result objects as csv type ExampleSet using the ResultWriter, this possibility now seems to be unavailable........???????
ChrisI
As a new-boy I am still struggling with RapidMiner ver 5.1.
LibSVM provides a labeled ExampleSet and a Model object as outputs. The Model object contains the weight table. I cannot find any operator which enables me to isolate the weight table. For instance in RapidMiner ver 4.4 one could write operator result objects as csv type ExampleSet using the ResultWriter, this possibility now seems to be unavailable........???????
ChrisI
Tagged:
0
Answers
the Weight by SVM operator might be interesting for you.
Best,
Marius
Many thanks for the suggestion. I tried it out, the WeightbySVM expects an Exampleset input and feeding the labeled Exampleset output from the SVM operator does indeed provide the weights table at the 'wei' port of SVMbyWeight operator! Great!
I have also found that using the WriteasText operator on the DVM output model object makes it readable as an ExampleSet. So all in all one little step further..... :-)
Chris.