Meethu Mathew
Meethu Mathew

Reputation: 431

Where is the predict() in Logistic Regression of Spark MLLIb implemented?

Can somebody point me to the implementation of predict() in LogisticRegressionModel of spark mllib? I could find a predictPoint() in the class LogisticRegressionModel, but where is predict()?

Upvotes: 0

Views: 302

Answers (1)

zero323
zero323

Reputation: 330173

Since LogisticRegressionModel extends GeneralizedLinearModel with ClassificationModel (and some other less interesting stuff) it is reasonable to expect that predict is inherited from on of the above.

And as expected:

Upvotes: 3

Related Questions