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

    https://github.com/apache/spark/pull/18#discussion_r11468723
  
    --- Diff: mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala ---
    @@ -17,11 +17,18 @@
     
     package org.apache.spark.mllib.util
     
    +import scala.reflect.ClassTag
    +
     import breeze.linalg.{Vector => BV, DenseVector => BDV, SparseVector => 
BSV,
       squaredDistance => breezeSquaredDistance}
     
     import org.apache.spark.SparkContext
     import org.apache.spark.rdd.RDD
    +import org.apache.spark.rdd.PartitionwiseSampledRDD
    +import org.apache.spark.SparkContext._
    +import org.apache.spark.util.random.BernoulliSampler
    +
    +import org.jblas.DoubleMatrix
    --- End diff --
    
    Please move this line to the block of breeze imports. And merge `spark` and 
`spark.mllib` imports in a single 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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to