Skip to content

Commit 0a43033

Browse files
committed
[SPARK-11207] Fix tests
1 parent 003d3bd commit 0a43033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class LinearRegressionSuite extends SparkFunSuite with MLlibTestSparkContext {
6868
// as the solver of linear regression in the case of "auto" mode.
6969
val featureSize = 4100
7070
datasetWithManyFeature = sqlContext.createDataFrame(
71-
sc.parallelize(LinearDataGenerator.generateLinearSparseInput(
71+
sc.parallelize(LinearDataGenerator.generateLinearInputInternal(
7272
intercept = 0.0, weights = Seq.fill(featureSize)(r.nextDouble).toArray,
7373
xMean = Seq.fill(featureSize)(r.nextDouble).toArray,
7474
xVariance = Seq.fill(featureSize)(r.nextDouble).toArray, nPoints = 200,

0 commit comments

Comments
 (0)