Skip to content

Conversation

@BryanCutler
Copy link
Member

These params were being passed into the StreamingLogisticRegressionWithSGD constructor, but not transferred to the call for model training. Same with StreamingLinearRegressionWithSGD. I added the params as named arguments to the call and also fixed the intercept parameter, which was being passed as regularization value.

…th SGD to pass in convergenceTol or regularization to training
@BryanCutler BryanCutler changed the title [SPARK-10959] Fixed params in Streaming logistic,linear regression wi… [SPARK-10959] [PySpark] Fixed params in Streaming logistic,linear regression wi… Oct 6, 2015
@BryanCutler BryanCutler changed the title [SPARK-10959] [PySpark] Fixed params in Streaming logistic,linear regression wi… [SPARK-10959] [PySpark] StreamingLogisticRegressionWithSGD does not train with given regParam and convergenceTol parameters Oct 6, 2015
@mengxr
Copy link
Contributor

mengxr commented Oct 7, 2015

add to whitelist

@mengxr
Copy link
Contributor

mengxr commented Oct 7, 2015

ok to test

@mengxr
Copy link
Contributor

mengxr commented Oct 7, 2015

LGTM pending Jenkins.

@mengxr
Copy link
Contributor

mengxr commented Oct 8, 2015

test this please

@SparkQA
Copy link

SparkQA commented Oct 8, 2015

Test build #43398 has finished for PR 9002 at commit bbda9da.

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

@mengxr
Copy link
Contributor

mengxr commented Oct 9, 2015

Merged into master and branch-1.5. Thanks!

@asfgit asfgit closed this in 5410747 Oct 9, 2015
asfgit pushed a commit that referenced this pull request Oct 9, 2015
…rain with given regParam and convergenceTol parameters

These params were being passed into the StreamingLogisticRegressionWithSGD constructor, but not transferred to the call for model training.  Same with StreamingLinearRegressionWithSGD.  I added the params as named arguments to the call and also fixed the intercept parameter, which was being passed as regularization value.

Author: Bryan Cutler <[email protected]>

Closes #9002 from BryanCutler/StreamingSGD-convergenceTol-bug-10959.

(cherry picked from commit 5410747)
Signed-off-by: Xiangrui Meng <[email protected]>
@jkbradley
Copy link
Member

This shouldn't have been backported to 1.5 since 1.5 did not have convergenceTol. I'll revert the 1.5 change. @BryanCutler Would you mind preparing a separate backport for 1.5 which just handles regParam? Thanks!

See failure:
[https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/Spark-1.5-SBT/517/AMPLAB_JENKINS_BUILD_PROFILE=hadoop1.0,label=spark-test/consoleFull]

@jkbradley
Copy link
Member

Reverted in commit: [https://github.com/apache/spark/commit/2217f4f8b8fa6ad8b0b7200591a5e7c827cb6e18]

@BryanCutler
Copy link
Member Author

sure, no problem @jkbradley

@BryanCutler BryanCutler deleted the StreamingSGD-convergenceTol-bug-10959 branch November 18, 2015 21:36
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.

4 participants