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-6093] [MLLIB] Add RegressionMetrics in PySpark/MLlib #5941
Conversation
Merged build triggered. |
Merged build started. |
Test build #31978 has started for PR 5941 at commit |
Test build #31978 has finished for PR 5941 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
java_model = java_class(df._jdf) | ||
super(RegressionMetrics, self).__init__(java_model) | ||
|
||
def explainedVariance(self): |
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.
Do you think it is better if we mark it as @property
? I didn't do that for BinaryClassificationMetrics
, but we still have time to make this change.
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.
Yes, I agree. I will do it for both.
Merged build triggered. |
Merged build started. |
Test build #32120 has started for PR 5941 at commit |
LGTM pending Jenkins. |
Test build #32120 has finished for PR 5941 at commit
|
Merged build finished. Test PASSed. |
Test PASSed. |
https://issues.apache.org/jira/browse/SPARK-6093 Author: Yanbo Liang <ybliang8@gmail.com> Closes #5941 from yanboliang/spark-6093 and squashes the following commits: 6934af3 [Yanbo Liang] change to @Property aac3bc5 [Yanbo Liang] Add RegressionMetrics in PySpark/MLlib (cherry picked from commit 1712a7c) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Merged into master and branch-1.4. Thanks! Would you like to port other evaluation metrics to Python? MulticlassMetrics and RankingMetrics are quite important. |
@mengxr , OK, I will take them. |
https://issues.apache.org/jira/browse/SPARK-6093 Author: Yanbo Liang <ybliang8@gmail.com> Closes apache#5941 from yanboliang/spark-6093 and squashes the following commits: 6934af3 [Yanbo Liang] change to @Property aac3bc5 [Yanbo Liang] Add RegressionMetrics in PySpark/MLlib
https://issues.apache.org/jira/browse/SPARK-6093 Author: Yanbo Liang <ybliang8@gmail.com> Closes apache#5941 from yanboliang/spark-6093 and squashes the following commits: 6934af3 [Yanbo Liang] change to @Property aac3bc5 [Yanbo Liang] Add RegressionMetrics in PySpark/MLlib
https://issues.apache.org/jira/browse/SPARK-6093 Author: Yanbo Liang <ybliang8@gmail.com> Closes apache#5941 from yanboliang/spark-6093 and squashes the following commits: 6934af3 [Yanbo Liang] change to @Property aac3bc5 [Yanbo Liang] Add RegressionMetrics in PySpark/MLlib
https://issues.apache.org/jira/browse/SPARK-6093