Github user keypointt commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11116#discussion_r52966146
  
    --- 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 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

Reply via email to