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-22810][ML][PySpark] Expose Python API for LinearRegression with huber loss. #19994

Closed
wants to merge 2 commits into from

Conversation

yanboliang
Copy link
Contributor

What changes were proposed in this pull request?

Expose Python API for LinearRegression with huber loss.

How was this patch tested?

Unit test.

@SparkQA
Copy link

SparkQA commented Dec 15, 2017

Test build #84977 has finished for PR 19994 at commit 1ed46a2.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
  • class HasLoss(Params):

@since("2.3.0")
def scale(self):
"""
The value by which \|y - X'w\| is scaled down when loss is "huber".
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add doc "When square loss the value is 1.0"

@SparkQA
Copy link

SparkQA commented Dec 20, 2017

Test build #85210 has finished for PR 19994 at commit e02d60f.

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

@WeichenXu123
Copy link
Contributor

LGTM.

@yanboliang
Copy link
Contributor Author

Merged into master, thanks.

@asfgit asfgit closed this in fb0562f Dec 21, 2017
@yanboliang yanboliang deleted the spark-22810 branch December 21, 2017 01:54
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