Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-20097][ML] Fix visibility discrepancy with numInstances and degreesOfFreedom in LR and GLR #17431

Closed
wants to merge 1 commit into from

Conversation

BenFradet
Copy link
Contributor

What changes were proposed in this pull request?

  • made numInstances public in GLR
  • made degreesOfFreedom public in LR

How was this patch tested?

reran the concerned test suites

@BenFradet
Copy link
Contributor Author

BenFradet commented Mar 25, 2017

@jkbradley this is what we discussed in #12823

Also I noticed that a lot of variables in LinearRegression are missing the Since annotation such as devianceResiduals, is this intentional?

@SparkQA
Copy link

SparkQA commented Mar 25, 2017

Test build #75214 has finished for PR 17431 at commit fb4b2f9.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@BenFradet BenFradet changed the title [SPARK-20097][ML]Fix visibility discrepancy with numInstances and degreesOfFreedom in LR and GLR [SPARK-20097][ML] Fix visibility discrepancy with numInstances and degreesOfFreedom in LR and GLR Mar 26, 2017
@MLnick
Copy link
Contributor

MLnick commented Apr 11, 2017

LGTM

We could fix up the annotations for LinearRegression - do you want to open a new JIRA/PR for that?

@MLnick
Copy link
Contributor

MLnick commented Apr 11, 2017

Merged to master. Thanks!

@asfgit asfgit closed this in 0d2b796 Apr 11, 2017
@BenFradet
Copy link
Contributor Author

Yup, I'm on it, thanks @MLnick !

@BenFradet BenFradet deleted the SPARK-20097 branch April 11, 2017 07:53
peter-toth pushed a commit to peter-toth/spark that referenced this pull request Oct 6, 2018
…greesOfFreedom in LR and GLR

## What changes were proposed in this pull request?

- made `numInstances` public in GLR
- made `degreesOfFreedom` public in LR

## How was this patch tested?

reran the concerned test suites

Author: Benjamin Fradet <[email protected]>

Closes apache#17431 from BenFradet/SPARK-20097.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants