We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 003d3bd commit 0a43033Copy full SHA for 0a43033
mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala
@@ -68,7 +68,7 @@ class LinearRegressionSuite extends SparkFunSuite with MLlibTestSparkContext {
68
// as the solver of linear regression in the case of "auto" mode.
69
val featureSize = 4100
70
datasetWithManyFeature = sqlContext.createDataFrame(
71
- sc.parallelize(LinearDataGenerator.generateLinearSparseInput(
+ sc.parallelize(LinearDataGenerator.generateLinearInputInternal(
72
intercept = 0.0, weights = Seq.fill(featureSize)(r.nextDouble).toArray,
73
xMean = Seq.fill(featureSize)(r.nextDouble).toArray,
74
xVariance = Seq.fill(featureSize)(r.nextDouble).toArray, nPoints = 200,
0 commit comments