What does the score of the Spark MLLib SVM output mean?
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-point belonging to a certain class (on which the SVM is trained, a.k.a. multi-class problem) (see also this thread) . It is unclear what the score means. Is it the distance to the hyperplane? How do I get the probabilities from it? import org.apache.spark.mllib.classification.{SVMModel, SVMWithSGD} import org.apache.spark.mllib.evaluation.BinaryClassificationMetrics import org.apache.spark.mllib.util.MLUtils // Load training