spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keypointt <>
Subject [GitHub] spark pull request: [SPARK-13013][Docs] Replace example code in ml...
Date Tue, 16 Feb 2016 03:37:10 GMT
Github user keypointt commented on a diff in the pull request:
    --- Diff: examples/src/main/scala/org/apache/spark/examples/mllib/PowerIterationClusteringExample.scala
    @@ -18,141 +18,42 @@
     // scalastyle:off println
     package org.apache.spark.examples.mllib
    -import org.apache.log4j.{Level, Logger}
    -import scopt.OptionParser
     import org.apache.spark.{SparkConf, SparkContext}
    -import org.apache.spark.mllib.clustering.PowerIterationClustering
    -import org.apache.spark.rdd.RDD
    +// $example on$
    +import org.apache.spark.mllib.clustering.{PowerIterationClustering, PowerIterationClusteringModel}
    +// $example off$
    --- End diff --
    @yinxusen could you please explain more how to reuse? 
    previous examples are quite different from what is shown insdie {highlight} block

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message