apache/spark — pull request #2625 by davies (2014-10-02 07:27:01+00:00)
Title: [SPARK-2461] Add a toString method to GeneralizedLinearModel

Add a toString method to GeneralizedLinearModel, also change `__str__` to `__repr__` for some classes, to provide better message in repr.

This PR is based on #1388, thanks to @sryza!

closes #1388