-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-2550][MLLIB][APACHE SPARK] Support regularization and intercept in pyspark's linear methods #1775
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
Conversation
…nWithSGD and SVMWithSGD.
Jenkins, test this please. |
QA tests have started for PR 1775. This patch merges cleanly. |
QA tests have started for PR 1775. This patch merges cleanly. |
QA results for PR 1775: |
QA results for PR 1775: |
Jenkins complains about a Hive Unit test that has not been passed: SET commands semantics for a HiveContext *** FAILED *** |
All the tests related to MLLIB have been passed (the first time that Jenkins ran all the tests). Is the aforementioned Hive Unit test related to this patch? What is more, the second time that Jenkins ran the tests, there are some errors from |
Jenkins, retest this please. |
QA tests have started for PR 1775. This patch merges cleanly. |
QA results for PR 1775: |
Found the error. It was a typo. Let's see what Jenkins is going to say... |
QA tests have started for PR 1775. This patch merges cleanly. |
QA results for PR 1775: |
SVMAlg.optimizer | ||
.setNumIterations(numIterations) | ||
.setRegParam(regParam) | ||
.setStepSize(stepSize) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to set miniBatchFraction here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I am fixing it right now!
QA tests have started for PR 1775. This patch merges cleanly. |
QA results for PR 1775: |
LGTM. Merged into both master and branch-1.1. Thanks!! |
…t in pyspark's linear methods Related to Jira Issue: [SPARK-2550](https://issues.apache.org/jira/browse/SPARK-2550?jql=project%20%3D%20SPARK%20AND%20resolution%20%3D%20Unresolved%20AND%20priority%20%3D%20Major%20ORDER%20BY%20key%20DESC) Author: Michael Giannakopoulos <miccagiann@gmail.com> Closes #1775 from miccagiann/linearMethodsReg and squashes the following commits: cb774c3 [Michael Giannakopoulos] MiniBatchFraction added in related PythonMLLibAPI java stubs. 81fcbc6 [Michael Giannakopoulos] Fixing a typo-error. 8ad263e [Michael Giannakopoulos] Adding regularizer type and intercept parameters to LogisticRegressionWithSGD and SVMWithSGD. (cherry picked from commit 1aad911) Signed-off-by: Xiangrui Meng <meng@databricks.com>
…t in pyspark's linear methods Related to Jira Issue: [SPARK-2550](https://issues.apache.org/jira/browse/SPARK-2550?jql=project%20%3D%20SPARK%20AND%20resolution%20%3D%20Unresolved%20AND%20priority%20%3D%20Major%20ORDER%20BY%20key%20DESC) Author: Michael Giannakopoulos <miccagiann@gmail.com> Closes apache#1775 from miccagiann/linearMethodsReg and squashes the following commits: cb774c3 [Michael Giannakopoulos] MiniBatchFraction added in related PythonMLLibAPI java stubs. 81fcbc6 [Michael Giannakopoulos] Fixing a typo-error. 8ad263e [Michael Giannakopoulos] Adding regularizer type and intercept parameters to LogisticRegressionWithSGD and SVMWithSGD.
Related to Jira Issue: SPARK-2550