[
https://issues.apache.org/jira/browse/SPARK-20764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16020555#comment-16020555
]
Peng Meng commented on SPARK-20764:
-----------------------------------
Thanks [~yanboliang], is that check too short?
For the PySpark LinearRegressionSummary test. There is only two lines of code,
just check one function.
If there is a typo, suppose I write [return
self._call_java("degreeOfFreedom")] (degreeOfFreedom to replace
degreesOfFreedom)
There will not return any error, and pass all test. But this certainly doesn't
work.
> 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
> Assignee: Peng Meng
> Priority: Minor
> Fix For: 2.2.0
>
>
> 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]