Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-19270][FOLLOW-UP][ML] PySpark GLR model.summary should return …
…a printable representation. ## What changes were proposed in this pull request? PySpark GLR ```model.summary``` should return a printable representation by calling Scala ```toString```. ## How was this patch tested? ``` from pyspark.ml.regression import GeneralizedLinearRegression dataset = spark.read.format("libsvm").load("data/mllib/sample_linear_regression_data.txt") glr = GeneralizedLinearRegression(family="gaussian", link="identity", maxIter=10, regParam=0.3) model = glr.fit(dataset) model.summary ``` Before this PR:  After this PR:  Author: Yanbo Liang <ybliang8@gmail.com> Closes apache#18870 from yanboliang/spark-19270.
- Loading branch information