0

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()?

zero323
  • 322,348
  • 103
  • 959
  • 935
Meethu Mathew
  • 431
  • 1
  • 6
  • 15

1 Answers1

3

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:

zero323
  • 322,348
  • 103
  • 959
  • 935