Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/4677#discussion_r25140131
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/tree/configuration/BoostingStrategy.scala
---
@@ -34,6 +34,12 @@ import org.apache.spark.mllib.tree.loss.{LogLoss,
SquaredError, Loss}
* weak hypotheses used in the final model.
* @param learningRate Learning rate for shrinking the contribution of
each estimator. The
* learning rate should be between in the interval (0,
1]
+ * @param validationTol Useful when runWithValidation is used. If the
error rate between two
+ iterations is lesser than the validationTol, then
stop. If run
--- End diff --
"lesser" --> "less"
Also, use double brackets to add link to "run" to be clearer.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]