diff options
-rw-r--r-- | ml/src/main/scala/spark/ml/gradient/Gradient.scala (renamed from ml/src/main/scala/spark/ml/Gradient.scala) | 2 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/gradient/GradientDescent.scala (renamed from ml/src/main/scala/spark/ml/GradientDescent.scala) | 2 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/gradient/Updater.scala (renamed from ml/src/main/scala/spark/ml/Updater.scala) | 2 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/regression/LogisticRegression.scala (renamed from ml/src/main/scala/spark/ml/LogisticRegression.scala) | 4 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/regression/LogisticRegressionGenerator.scala (renamed from ml/src/main/scala/spark/ml/LogisticRegressionGenerator.scala) | 3 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/regression/Regression.scala (renamed from ml/src/main/scala/spark/ml/Regression.scala) | 2 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/regression/RidgeRegression.scala (renamed from ml/src/main/scala/spark/ml/RidgeRegression.scala) | 3 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/regression/RidgeRegressionGenerator.scala (renamed from ml/src/main/scala/spark/ml/RidgeRegressionGenerator.scala) | 3 | ||||
-rw-r--r-- | ml/src/main/scala/spark/ml/util/MLUtils.scala (renamed from ml/src/main/scala/spark/ml/MLUtils.scala) | 2 | ||||
-rw-r--r-- | ml/src/test/scala/spark/ml/regression/LogisticRegressionSuite.scala (renamed from ml/src/test/scala/spark/ml/LogisticRegressionSuite.scala) | 2 | ||||
-rw-r--r-- | ml/src/test/scala/spark/ml/regression/RidgeRegressionSuite.scala (renamed from ml/src/test/scala/spark/ml/RidgeRegressionSuite.scala) | 2 |
11 files changed, 16 insertions, 11 deletions
diff --git a/ml/src/main/scala/spark/ml/Gradient.scala b/ml/src/main/scala/spark/ml/gradient/Gradient.scala index fe36187000..50795c01a2 100644 --- a/ml/src/main/scala/spark/ml/Gradient.scala +++ b/ml/src/main/scala/spark/ml/gradient/Gradient.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.gradient import org.jblas.DoubleMatrix diff --git a/ml/src/main/scala/spark/ml/GradientDescent.scala b/ml/src/main/scala/spark/ml/gradient/GradientDescent.scala index 564f89e5ee..8cd2a69a3a 100644 --- a/ml/src/main/scala/spark/ml/GradientDescent.scala +++ b/ml/src/main/scala/spark/ml/gradient/GradientDescent.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.gradient import spark.{Logging, RDD, SparkContext} import spark.SparkContext._ diff --git a/ml/src/main/scala/spark/ml/Updater.scala b/ml/src/main/scala/spark/ml/gradient/Updater.scala index 3952008e28..27f03897b0 100644 --- a/ml/src/main/scala/spark/ml/Updater.scala +++ b/ml/src/main/scala/spark/ml/gradient/Updater.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.gradient import org.jblas.DoubleMatrix diff --git a/ml/src/main/scala/spark/ml/LogisticRegression.scala b/ml/src/main/scala/spark/ml/regression/LogisticRegression.scala index 14c237c5ed..1508f6934a 100644 --- a/ml/src/main/scala/spark/ml/LogisticRegression.scala +++ b/ml/src/main/scala/spark/ml/regression/LogisticRegression.scala @@ -1,6 +1,8 @@ -package spark.ml +package spark.ml.regression import spark.{Logging, RDD, SparkContext} +import spark.ml.gradient._ +import spark.ml.util.MLUtils import org.jblas.DoubleMatrix diff --git a/ml/src/main/scala/spark/ml/LogisticRegressionGenerator.scala b/ml/src/main/scala/spark/ml/regression/LogisticRegressionGenerator.scala index ff46cfa46d..1617eac205 100644 --- a/ml/src/main/scala/spark/ml/LogisticRegressionGenerator.scala +++ b/ml/src/main/scala/spark/ml/regression/LogisticRegressionGenerator.scala @@ -1,6 +1,7 @@ -package spark.ml +package spark.ml.regression import spark.{RDD, SparkContext} +import spark.ml.util.MLUtils import org.apache.commons.math3.distribution.NormalDistribution import org.jblas.DoubleMatrix diff --git a/ml/src/main/scala/spark/ml/Regression.scala b/ml/src/main/scala/spark/ml/regression/Regression.scala index 9d7424d656..4a20f513b7 100644 --- a/ml/src/main/scala/spark/ml/Regression.scala +++ b/ml/src/main/scala/spark/ml/regression/Regression.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.regression import spark.RDD diff --git a/ml/src/main/scala/spark/ml/RidgeRegression.scala b/ml/src/main/scala/spark/ml/regression/RidgeRegression.scala index 3cbb0653c3..16d146ac27 100644 --- a/ml/src/main/scala/spark/ml/RidgeRegression.scala +++ b/ml/src/main/scala/spark/ml/regression/RidgeRegression.scala @@ -1,7 +1,8 @@ -package spark.ml +package spark.ml.regression import spark.{Logging, RDD, SparkContext} import spark.SparkContext._ +import spark.ml.util.MLUtils import org.jblas.DoubleMatrix import org.jblas.Solve diff --git a/ml/src/main/scala/spark/ml/RidgeRegressionGenerator.scala b/ml/src/main/scala/spark/ml/regression/RidgeRegressionGenerator.scala index e6d3e94787..ac7f1e7320 100644 --- a/ml/src/main/scala/spark/ml/RidgeRegressionGenerator.scala +++ b/ml/src/main/scala/spark/ml/regression/RidgeRegressionGenerator.scala @@ -1,6 +1,7 @@ -package spark.ml +package spark.ml.regression import spark.{RDD, SparkContext} +import spark.ml.util.MLUtils import org.apache.commons.math3.distribution.NormalDistribution import org.jblas.DoubleMatrix diff --git a/ml/src/main/scala/spark/ml/MLUtils.scala b/ml/src/main/scala/spark/ml/util/MLUtils.scala index b2361e5564..76e1bbd36d 100644 --- a/ml/src/main/scala/spark/ml/MLUtils.scala +++ b/ml/src/main/scala/spark/ml/util/MLUtils.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.util import spark.{RDD, SparkContext} import spark.SparkContext._ diff --git a/ml/src/test/scala/spark/ml/LogisticRegressionSuite.scala b/ml/src/test/scala/spark/ml/regression/LogisticRegressionSuite.scala index d66c2c8b35..ce388ecc26 100644 --- a/ml/src/test/scala/spark/ml/LogisticRegressionSuite.scala +++ b/ml/src/test/scala/spark/ml/regression/LogisticRegressionSuite.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.regression import spark.SparkContext import spark.SparkContext._ diff --git a/ml/src/test/scala/spark/ml/RidgeRegressionSuite.scala b/ml/src/test/scala/spark/ml/regression/RidgeRegressionSuite.scala index 07da5081b3..6d5f13d6f5 100644 --- a/ml/src/test/scala/spark/ml/RidgeRegressionSuite.scala +++ b/ml/src/test/scala/spark/ml/regression/RidgeRegressionSuite.scala @@ -1,4 +1,4 @@ -package spark.ml +package spark.ml.regression import spark.SparkContext import spark.SparkContext._ |