Re: Spark ML - LogisticRegression interpreting prediction

2017-10-23 Thread pun
Thanks a lot! You are right! -- Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ - To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Re: Spark ML - LogisticRegression interpreting prediction

2017-10-22 Thread Weichen Xu
The values you want to get (add up to 1.0) is "probability", not "rawPrediction". Thanks! On Mon, Oct 23, 2017 at 1:20 AM, pun wrote: > Hello, > I have a LogisticRegression model for predicting a binary label. Once I > train the model, I run it to get some predictions. I get the following > val

Spark ML - LogisticRegression interpreting prediction

2017-10-22 Thread pun
Hello, I have a LogisticRegression model for predicting a binary label. Once I train the model, I run it to get some predictions. I get the following values for RawPrediction. How should I interpret these? Whdo they mean? ++|rawPrediction