Skip to content

Commit 3687084

Browse files
author
Feynman Liang
committed
Adds default value for StreamingLinearRegressionWithSGD.setConvergenceTOl
1 parent b37f0cc commit 3687084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class StreamingLinearRegressionWithSGD private[mllib] (
9393
}
9494

9595
/**
96-
* Set the convergence tolerance.
96+
* Set the convergence tolerance. Default: 0.001.
9797
*/
9898
def setConvergenceTol(tolerance: Double): this.type = {
9999
this.algorithm.optimizer.setConvergenceTol(tolerance)

0 commit comments

Comments
 (0)