Skip to content

Commit

Permalink
[HOTFIX] MLlib build break.
Browse files Browse the repository at this point in the history
  • Loading branch information
rxin committed Feb 5, 2015
1 parent c3ba4d4 commit 6580929
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object NaiveBayesModel extends Loader[NaiveBayesModel] {

def save(sc: SparkContext, path: String, data: Data): Unit = {
val sqlContext = new SQLContext(sc)
import sqlContext._
import sqlContext.implicits._

// Create JSON metadata.
val metadataRDD =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private[classification] object GLMClassificationModel {
intercept: Double,
threshold: Option[Double]): Unit = {
val sqlContext = new SQLContext(sc)
import sqlContext._
import sqlContext.implicits._

// Create JSON metadata.
val metadataRDD =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private[regression] object GLMRegressionModel {
weights: Vector,
intercept: Double): Unit = {
val sqlContext = new SQLContext(sc)
import sqlContext._
import sqlContext.implicits._

// Create JSON metadata.
val metadataRDD =
Expand Down

0 comments on commit 6580929

Please sign in to comment.