Skip to content

Commit

Permalink
Merge remote-tracking branch 'zapletal-martin/SPARK-3278' into SPARK-…
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Jan 30, 2015
2 parents 80c6681 + 3da56e5 commit 5925113
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class LinearRegressionClusterSuite extends FunSuite with LocalClusterSparkContex
}.cache()
// If we serialize data directly in the task closure, the size of the serialized task would be
// greater than 1MB and hence Spark would throw an error.
val model = LinearRegressionWithSGD.train(points, 2 )
val model = LinearRegressionWithSGD.train(points, 2)
val predictions = model.predict(points.map(_.features))
}
}

0 comments on commit 5925113

Please sign in to comment.