Getting hold of the weights from LibSVM operator[SOLVED]

ChrisirgensChrisirgens MemberPosts:14Contributor II
edited April 2019 inHelp
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
Tagged:

Answers

  • MariusHelfMariusHelf RapidMiner Certified Expert, MemberPosts:1,869Unicorn
    Hi Chris,

    the Weight by SVM operator might be interesting for you.

    Best,
    Marius
  • ChrisirgensChrisirgens MemberPosts:14Contributor II
    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.
Sign InorRegisterto comment.