Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/14547#discussion_r75523798
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/regression/GBTRegressor.scala ---
@@ -134,11 +146,15 @@ class GBTRegressor @Since("1.4.0") (@Since("1.4.0")
override val uid: String)
@Since("1.4.0")
object GBTRegressor extends DefaultParamsReadable[GBTRegressor] {
-
- /** Accessor for supported loss settings: squared (L2), absolute (L1) */
+ /** Accessor for supported loss settings: squared (L2), absolute (L1),
gaussian (squared),
--- End diff --
style: follow other multi-line docstrings. Also, make it clearer that
gaussian and laplace are aliases for squared and absolute.
---
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]