Skip to content
Snippets Groups Projects
Commit 92059078 authored by Feynman Liang's avatar Feynman Liang Committed by Joseph K. Bradley
Browse files

[SPARK-9797] [MLLIB] [DOC] StreamingLinearRegressionWithSGD.setConvergenceTol default value

Adds default convergence tolerance (0.001, set in `GradientDescent.convergenceTol`) to `setConvergenceTol`'s scaladoc

Author: Feynman Liang <fliang@databricks.com>

Closes #8424 from feynmanliang/SPARK-9797.
parent c619c755
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ class StreamingLinearRegressionWithSGD private[mllib] (
}
/**
* Set the convergence tolerance.
* Set the convergence tolerance. Default: 0.001.
*/
def setConvergenceTol(tolerance: Double): this.type = {
this.algorithm.optimizer.setConvergenceTol(tolerance)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment