[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-20 Thread mengxr
Github user mengxr commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158554405 Merged into master and branch-1.6. Thanks! --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/9689 --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread vikasnp
Github user vikasnp commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158014578 @yinxusen Thanks for patiently pointing out the issues. I've fixed them. Please test it. --- If your project is set up for it, you can reply to this email and have

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45323275 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/RegressionMetricsExample.scala --- @@ -0,0 +1,68 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158018477 @mengxr LGTM except for some minor issues. --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158020924 **[Test build #46324 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46324/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315224 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315283 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315807 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassificationMetricsExample.java --- @@ -0,0 +1,79 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316264 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassificationMetricsExample.java --- @@ -0,0 +1,79 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316338 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassificationMetricsExample.java --- @@ -0,0 +1,79 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316350 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassificationMetricsExample.java --- @@ -0,0 +1,79 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316327 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassificationMetricsExample.java --- @@ -0,0 +1,79 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316717 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316780 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317047 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317028 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317289 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/RegressionMetricsExample.scala --- @@ -0,0 +1,68 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317679 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MulticlassMetricsExample.scala --- @@ -0,0 +1,97 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317640 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MulticlassMetricsExample.scala --- @@ -0,0 +1,97 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317830 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317987 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318615 --- Diff: examples/src/main/python/mllib/multi_label_metrics_example.py --- @@ -0,0 +1,62 @@ +# +# Licensed to the Apache Software Foundation (ASF)

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45314368 --- Diff: docs/mllib-evaluation-metrics.md --- @@ -1350,163 +582,21 @@ and evaluate the performance of the algorithm by several regression metrics.

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45314891 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassificationMetricsExample.java --- @@ -0,0 +1,111 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45314754 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassificationMetricsExample.java --- @@ -0,0 +1,111 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45314829 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassificationMetricsExample.java --- @@ -0,0 +1,111 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45314715 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassificationMetricsExample.java --- @@ -0,0 +1,111 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315688 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315702 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315720 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassificationMetricsExample.java --- @@ -0,0 +1,111 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315795 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassificationMetricsExample.java --- @@ -0,0 +1,79 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316484 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316576 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316513 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317388 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/RankingMetricsExample.scala --- @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317767 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317784 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318233 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassificationMetricsExample.scala --- @@ -0,0 +1,106 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318263 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassificationMetricsExample.scala --- @@ -0,0 +1,106 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318251 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassificationMetricsExample.scala --- @@ -0,0 +1,106 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45320839 --- Diff: examples/src/main/python/mllib/binary_classification_metrics_example.py --- @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45320834 --- Diff: examples/src/main/python/mllib/binary_classification_metrics_example.py --- @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315020 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassificationMetricsExample.java --- @@ -0,0 +1,111 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315175 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315181 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315157 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45315584 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaLinearRegressionExample.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316420 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316454 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316553 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316563 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316588 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMulticlassClassificationMetricsExample.java --- @@ -0,0 +1,96 @@ +/* + *

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316697 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316908 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316866 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316872 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45316822 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRankingMetricsExample.java --- @@ -0,0 +1,178 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317158 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/RegressionMetricsExample.scala --- @@ -0,0 +1,68 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317177 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/RegressionMetricsExample.scala --- @@ -0,0 +1,68 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317509 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/RankingMetricsExample.scala --- @@ -0,0 +1,109 @@ +/* + * Licensed to the Apache

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45317621 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MulticlassMetricsExample.scala --- @@ -0,0 +1,97 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318085 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318093 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318144 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/BinaryClassificationMetricsExample.scala --- @@ -0,0 +1,106 @@ +/* + * Licensed

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318073 --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/MultiLabelMetricsExample.scala --- @@ -0,0 +1,70 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318439 --- Diff: examples/src/main/python/mllib/regression_metrics_example.py --- @@ -0,0 +1,59 @@ +# +# Licensed to the Apache Software Foundation (ASF)

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45318539 --- Diff: examples/src/main/python/mllib/ranking_metrics_example.py --- @@ -0,0 +1,55 @@ +# +# Licensed to the Apache Software Foundation (ASF) under

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread vikasnp
Github user vikasnp commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158026184 @yinxusen @mengxr Can we merge this, if there aren't any further issues? --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158025345 **[Test build #46324 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46324/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158025470 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158025474 Test PASSed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158015582 **[Test build #46322 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46322/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158016071 Merged build finished. Test FAILed. --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158016062 **[Test build #46322 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46322/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158016074 Test FAILed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45323581 --- Diff: examples/src/main/python/mllib/binary_classification_metrics_example.py --- @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r45323938 --- Diff: examples/src/main/python/mllib/regression_metrics_example.py --- @@ -0,0 +1,58 @@ +# +# Licensed to the Apache Software Foundation (ASF)

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-19 Thread vikasnp
Github user vikasnp commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-158019179 @yinxusen @mengxr Style tests passed this time. I've removed those extra lines --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157959792 **[Test build #46305 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46305/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread mengxr
Github user mengxr commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157958644 ok to test --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157960852 Merged build finished. Test FAILed. --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157960847 **[Test build #46305 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46305/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157960854 Test FAILed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread vikasnp
Github user vikasnp commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157971311 @mengxr @yinxusen Please test now. --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157972339 **[Test build #46315 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46315/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157975860 **[Test build #46315 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/46315/consoleFull)** for PR 9689 at commit

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157975963 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157975966 Test PASSed. Refer to this link for build results (access rights to CI server needed):

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-17 Thread vikasnp
Github user vikasnp commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-157629142 @yinxusen I've fixed the issues you've pointed out. scala-style and python-style tests were successful. Please let me know if more changes are required. I'll be

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44776565 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassification.java --- @@ -0,0 +1,112 @@ +/* + * Licensed to the Apache

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread vikasnp
GitHub user vikasnp opened a pull request: https://github.com/apache/spark/pull/9689 [SPARK-11549][Docs] Replace example code in mllib-evaluation-metrics.md using include_example You can merge this pull request into a Git repository by running: $ git pull

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-156381771 Can one of the admins verify this patch? --- 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

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44793878 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassification.java --- @@ -0,0 +1,112 @@ +/* + * Licensed to the Apache

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44795103 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassification.java --- @@ -0,0 +1,80 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44795182 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassification.java --- @@ -0,0 +1,80 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44795202 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaMultiLabelClassification.java --- @@ -0,0 +1,80 @@ +/* + * Licensed to the

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on the pull request: https://github.com/apache/spark/pull/9689#issuecomment-156468885 @vikasnp Thanks for working on this! First we need to fix some style errors. Please follow the Spark Style Guide and check the style with `dev/scalastyle` and

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44794591 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaBinaryClassification.java --- @@ -0,0 +1,112 @@ +/* + * Licensed to the Apache

[GitHub] spark pull request: [SPARK-11549][Docs] Replace example code in ml...

2015-11-13 Thread yinxusen
Github user yinxusen commented on a diff in the pull request: https://github.com/apache/spark/pull/9689#discussion_r44795674 --- Diff: examples/src/main/java/org/apache/spark/examples/mllib/JavaRanking.java --- @@ -0,0 +1,173 @@ +/* + * Licensed to the Apache Software

  1   2   >