Getting hold of the weights from LibSVM operator[SOLVED]
Chrisirgens
New Altair Community Member
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
0
Answers
-
Hi Chris,
the Weight by SVM operator might be interesting for you.
Best,
Marius0 -
Hi 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.0