What does the score of the Spark MLLib SVM output mean?

后端 未结 2 1982
刺人心
刺人心 2021-01-15 09:33

I do not understand the output of the SVM classifier from the Spark MLLib algorithm. I want to convert the score to a probability, so that I get a probability for a data-poi

2条回答
  •  迷失自我
    2021-01-15 10:02

    The value is the margin -- distance to separating hyperplane. It is not a probability, and SVMs do not in general give you a probability. However as comments by @cfh note, you can try to learn probabilities based on this margin. But that's separate from the SVM.

提交回复
热议问题