I\'m trying to extract the class probabilities of a random forest object I have trained using PySpark. However, I do not see an example of it anywhere in the documentation, nor
This is now available.
Spark ML provides:
predictionCol that contains the predicted labelprobabilityCol that contains a vector with the probabilities for each label, this is what you where looking for!For more details, here is the Spark Documentation: http://spark.apache.org/docs/latest/ml-classification-regression.html#output-columns-predictions