Description
The miniBatchFraction parameter in the train method called with 4 arguments is 0.01, that is,
RidgeRegression.scala
def train( input: RDD[LabeledPoint], numIterations: Int, stepSize: Double, regParam: Double): RidgeRegressionModel = { train(input, numIterations, stepSize, regParam, 0.01) }
but, the parameter is 1.0 in the other train methods. For example,
RidgeRegression.scala
def train( input: RDD[LabeledPoint], numIterations: Int): RidgeRegressionModel = { train(input, numIterations, 1.0, 0.01, 1.0) }