Repository: spark Updated Branches: refs/heads/master 410392ed7 -> 6ab60542e
[MINOR][ML][DOC] Document default value for GeneralizedLinearRegression.linkPower Add Scaladoc for GeneralizedLinearRegression.linkPower default value Follow-up to https://github.com/apache/spark/pull/16344 Author: Joseph K. Bradley <jos...@databricks.com> Closes #17069 from jkbradley/tweedie-comment. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/6ab60542 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/6ab60542 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/6ab60542 Branch: refs/heads/master Commit: 6ab60542e8e803b1d91371a92f4aaef6a64106f6 Parents: 410392e Author: Joseph K. Bradley <jos...@databricks.com> Authored: Sat Feb 25 22:24:08 2017 -0800 Committer: Yanbo Liang <yblia...@gmail.com> Committed: Sat Feb 25 22:24:08 2017 -0800 ---------------------------------------------------------------------- .../apache/spark/ml/regression/GeneralizedLinearRegression.scala | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/6ab60542/mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala ---------------------------------------------------------------------- diff --git a/mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala b/mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala index fdeadaf..110764d 100644 --- a/mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala +++ b/mllib/src/main/scala/org/apache/spark/ml/regression/GeneralizedLinearRegression.scala @@ -109,6 +109,8 @@ private[regression] trait GeneralizedLinearRegressionBase extends PredictorParam * Param for the index in the power link function. Only applicable for the Tweedie family. * Note that link power 0, 1, -1 or 0.5 corresponds to the Log, Identity, Inverse or Sqrt * link, respectively. + * When not set, this value defaults to 1 - [[variancePower]], which matches the R "statmod" + * package. * * @group param */ --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org