Using SVMWithSGD model to predict

2014-10-19 Thread npomfret
this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Using-SVMWithSGD-model-to-predict-tp16767.html Sent from the Apache Spark User List mailing list archive at Nabble.com.

Using SVMWithSGD model to predict

2014-10-19 Thread Nick Pomfret
Hi, I'm new to spark and just trying to make sense of the SVMWithSGD example. I ran my dataset through it and build a model. When I call predict() on the testing data (after clearThreshold()) I was expecting to get answers in the range of 0 to 1. But they aren't, all predictions seem to be

Re: Using SVMWithSGD model to predict

2014-10-19 Thread Sean Owen
} -- View this message in context: Using SVMWithSGD model to predict http://apache-spark-user-list.1001560.n3.nabble.com/Using-SVMWithSGD-model-to-predict-tp16767.html Sent from the Apache Spark User List mailing list archive http://apache-spark-user-list.1001560.n3.nabble.com

Re: Using SVMWithSGD model to predict

2014-10-19 Thread Nick Pomfret
} -- View this message in context: Using SVMWithSGD model to predict http://apache-spark-user-list.1001560.n3.nabble.com/Using-SVMWithSGD-model-to-predict-tp16767.html Sent from the Apache Spark User List mailing list archive http://apache-spark-user-list.1001560.n3.nabble.com

Re: Using SVMWithSGD model to predict

2014-10-19 Thread Sean Owen
(point.features()); System.out.println(score = + score);//- all these are negative numbers, seemingly between 0 and -2 } View this message in context: Using SVMWithSGD model to predict Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Using SVMWithSGD model to predict

2014-10-19 Thread Nick Pomfret
this message in context: Using SVMWithSGD model to predict Sent from the Apache Spark User List mailing list archive at Nabble.com.