Skip to content

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

Closed
BenFradet wants to merge 1 commit intoapache:masterfrom
BenFradet:SPARK-20097
Closed

[SPARK-20097][ML] Fix visibility discrepancy with numInstances and degreesOfFreedom in LR and GLR#17431
BenFradet wants to merge 1 commit intoapache:masterfrom
BenFradet:SPARK-20097

Conversation

@BenFradet
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Contributor

MLnick commented Apr 11, 2017

Merged to master. Thanks!

@asfgit asfgit closed this in 0d2b796 Apr 11, 2017
@BenFradet
Copy link
Copy Markdown
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 <benjamin.fradet@gmail.com>

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