Hi,

we were using Spark 1.3.1 for a long time and now we want to upgrade to 2.0
release.
So we used till today the mllib package and the RDD API.

Now im trying to refactor our mllib NaiveBayesClassifier to the new "ml"
api.

*The Question:*
why is the method "predict" in the class "PredictionModel" of package "ml"
protected?

I am trying to find a way to load a saved prediction model and predict
values without having to use the pipline or transformer api.


Best regards

wobu



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/why-is-method-predict-protected-in-PredictionModel-tp28095.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Reply via email to