[
https://issues.apache.org/jira/browse/SPARK-20764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019651#comment-16019651
]
Yanbo Liang commented on SPARK-20764:
-------------------------------------
[[email protected]] We have test code for model summary at
[tests.py|https://github.com/apache/spark/blob/branch-2.2/python/pyspark/ml/tests.py#L1043],
but we only check the return type of summary function. For this small issue,
I'll merge it to catch 2.2. Thanks.
> Fix visibility discrepancy with numInstances and degreesOfFreedom in LR and
> GLR - Python version
> ------------------------------------------------------------------------------------------------
>
> Key: SPARK-20764
> URL: https://issues.apache.org/jira/browse/SPARK-20764
> Project: Spark
> Issue Type: Improvement
> Components: ML, PySpark
> Affects Versions: 2.2.0
> Reporter: Nick Pentreath
> Priority: Minor
>
> SPARK-20097 exposed {{degreesOfFreedom}} in {{LinearRegressionSummary}} and
> {{numInstances}} in {{GeneralizedLinearRegressionSummary}}. Python API should
> be updated to reflect these changes.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]