diff options
author | Andrew Tulloch <andrew@tullo.ch> | 2014-01-21 13:34:59 +0000 |
---|---|---|
committer | Andrew Tulloch <andrew@tullo.ch> | 2014-01-21 13:36:53 +0000 |
commit | 3a067b4a76e6363f0668b5be82ab088d6a1f79d2 (patch) | |
tree | f213f10a109ba7c39704cd7137fa6bf8ccde9b4e /mllib | |
parent | 720836a76169be4f7ad010c6f6dbb54666b6aba1 (diff) | |
download | spark-3a067b4a76e6363f0668b5be82ab088d6a1f79d2.tar.gz spark-3a067b4a76e6363f0668b5be82ab088d6a1f79d2.tar.bz2 spark-3a067b4a76e6363f0668b5be82ab088d6a1f79d2.zip |
Fixed import order
Diffstat (limited to 'mllib')
5 files changed, 4 insertions, 7 deletions
diff --git a/mllib/src/test/scala/org/apache/spark/mllib/classification/LogisticRegressionSuite.scala b/mllib/src/test/scala/org/apache/spark/mllib/classification/LogisticRegressionSuite.scala index 155788f85e..05322b024d 100644 --- a/mllib/src/test/scala/org/apache/spark/mllib/classification/LogisticRegressionSuite.scala +++ b/mllib/src/test/scala/org/apache/spark/mllib/classification/LogisticRegressionSuite.scala @@ -17,7 +17,6 @@ package org.apache.spark.mllib.classification -import org.apache.spark.mllib.util.LocalSparkContext import scala.util.Random import scala.collection.JavaConversions._ @@ -27,6 +26,7 @@ import org.scalatest.matchers.ShouldMatchers import org.apache.spark.SparkContext import org.apache.spark.mllib.regression._ +import org.apache.spark.mllib.util.LocalSparkContext object LogisticRegressionSuite { diff --git a/mllib/src/test/scala/org/apache/spark/mllib/classification/NaiveBayesSuite.scala b/mllib/src/test/scala/org/apache/spark/mllib/classification/NaiveBayesSuite.scala index 375196d97f..9dd6c79ee6 100644 --- a/mllib/src/test/scala/org/apache/spark/mllib/classification/NaiveBayesSuite.scala +++ b/mllib/src/test/scala/org/apache/spark/mllib/classification/NaiveBayesSuite.scala @@ -17,14 +17,13 @@ package org.apache.spark.mllib.classification -import org.apache.spark.mllib.util.LocalSparkContext import scala.util.Random import org.scalatest.BeforeAndAfterAll import org.scalatest.FunSuite import org.apache.spark.mllib.regression.LabeledPoint -import org.apache.spark.SparkContext +import org.apache.spark.mllib.util.LocalSparkContext object NaiveBayesSuite { diff --git a/mllib/src/test/scala/org/apache/spark/mllib/recommendation/ALSSuite.scala b/mllib/src/test/scala/org/apache/spark/mllib/recommendation/ALSSuite.scala index 28a27b1d09..5dcec7dc3e 100644 --- a/mllib/src/test/scala/org/apache/spark/mllib/recommendation/ALSSuite.scala +++ b/mllib/src/test/scala/org/apache/spark/mllib/recommendation/ALSSuite.scala @@ -23,10 +23,10 @@ import scala.util.Random import org.scalatest.BeforeAndAfterAll import org.scalatest.FunSuite -import org.apache.spark.mllib.util.LocalSparkContext - import org.jblas._ +import org.apache.spark.mllib.util.LocalSparkContext + object ALSSuite { def generateRatingsAsJavaList( diff --git a/mllib/src/test/scala/org/apache/spark/mllib/regression/LinearRegressionSuite.scala b/mllib/src/test/scala/org/apache/spark/mllib/regression/LinearRegressionSuite.scala index 648d89bc8c..281f9df36d 100644 --- a/mllib/src/test/scala/org/apache/spark/mllib/regression/LinearRegressionSuite.scala +++ b/mllib/src/test/scala/org/apache/spark/mllib/regression/LinearRegressionSuite.scala @@ -20,7 +20,6 @@ package org.apache.spark.mllib.regression import org.scalatest.BeforeAndAfterAll import org.scalatest.FunSuite -import org.apache.spark.SparkContext import org.apache.spark.mllib.util.{LinearDataGenerator, LocalSparkContext} class LinearRegressionSuite extends FunSuite with LocalSparkContext { diff --git a/mllib/src/test/scala/org/apache/spark/mllib/regression/RidgeRegressionSuite.scala b/mllib/src/test/scala/org/apache/spark/mllib/regression/RidgeRegressionSuite.scala index 7ec53eb772..67dd06cc0f 100644 --- a/mllib/src/test/scala/org/apache/spark/mllib/regression/RidgeRegressionSuite.scala +++ b/mllib/src/test/scala/org/apache/spark/mllib/regression/RidgeRegressionSuite.scala @@ -22,7 +22,6 @@ import org.jblas.DoubleMatrix import org.scalatest.BeforeAndAfterAll import org.scalatest.FunSuite -import org.apache.spark.SparkContext import org.apache.spark.mllib.util.{LinearDataGenerator, LocalSparkContext} |