How to interpret probability column in spark logistic regression prediction?

Viewed 4735

I'm getting predictions through spark.ml.classification.LogisticRegressionModel.predict. A number of the rows have the prediction column as 1.0 and probability column as .04. The model.getThreshold is 0.5 so I'd assume the model is classifying everything over a 0.5 probability threshold as 1.0.

How am I supposed to interpret a result with a 1.0 prediction and a probability of 0.04?

1 Answers
Related