[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user srowen commented on the issue: https://github.com/apache/spark/pull/13511 Merged to master/2.0 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user srowen commented on the issue: https://github.com/apache/spark/pull/13511 LGTM --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 Merged build finished. Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 **[Test build #59997 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59997/consoleFull)** for PR 13511 at commit [`652b9ef`](https://github.com/apache/spark/commit/652b9efcac3567012bc502288430114dcbf1c960). * This patch passes all tests. * This patch merges cleanly. * This patch adds no public classes. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59997/ Test PASSed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 @srowen It is just the local test code, please ignore it. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 Looks correct, what are you pointing out? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 **[Test build #59997 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59997/consoleFull)** for PR 13511 at commit [`652b9ef`](https://github.com/apache/spark/commit/652b9efcac3567012bc502288430114dcbf1c960). --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 cc @srowen --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark issue #13511: [SPARK-14900][ML][PySpark] Add accuracy and deprecate pr...
Github user zhengruifeng commented on the issue: https://github.com/apache/spark/pull/13511 ``` >>> from pyspark.mllib.evaluation import * >>> predictionAndLabels = sc.parallelize([(0.0, 0.0), (0.0, 1.0), (0.0, 0.0), (1.0, 0.0), (1.0, 1.0), (1.0, 1.0), (1.0, 1.0), (2.0, 2.0), (2.0, 0.0)]) >>> metrics = MulticlassMetrics(predictionAndLabels) >>> metrics.recall() /Users/zrf/Development/OpenSource/spark/python/pyspark/mllib/evaluation.py:253: UserWarning: Deprecated in 2.0.0. Use accuracy. warnings.warn("Deprecated in 2.0.0. Use accuracy.") 0. >>> metrics.recall(0) 0.5 >>> metrics.accuracy() 0. ``` --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org