aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2015-11-18 13:30:29 -0800
committerXiangrui Meng <meng@databricks.com>2015-11-18 13:30:29 -0800
commite222d758499ad2609046cc1a2cc8afb45c5bccbb (patch)
treea378be289b9c80cf81975e419ed6ffb4b229e53e /mllib
parente391abdf2cb6098a35347bd123b815ee9ac5b689 (diff)
downloadspark-e222d758499ad2609046cc1a2cc8afb45c5bccbb.tar.gz
spark-e222d758499ad2609046cc1a2cc8afb45c5bccbb.tar.bz2
spark-e222d758499ad2609046cc1a2cc8afb45c5bccbb.zip
[SPARK-11684][R][ML][DOC] Update SparkR glm API doc, user guide and example codes
This PR includes: * Update SparkR:::glm, SparkR:::summary API docs. * Update SparkR machine learning user guide and example codes to show: * supporting feature interaction in R formula. * summary for gaussian GLM model. * coefficients for binomial GLM model. mengxr Author: Yanbo Liang <ybliang8@gmail.com> Closes #9727 from yanboliang/spark-11684.
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala b/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala
index ca55d5915e..f7c44f0a51 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala
@@ -145,6 +145,9 @@ class LinearRegression @Since("1.3.0") (@Since("1.3.0") override val uid: String
/**
* Set the solver algorithm used for optimization.
* In case of linear regression, this can be "l-bfgs", "normal" and "auto".
+ * "l-bfgs" denotes Limited-memory BFGS which is a limited-memory quasi-Newton
+ * optimization method. "normal" denotes using Normal Equation as an analytical
+ * solution to the linear regression problem.
* The default value is "auto" which means that the solver algorithm is
* selected automatically.
* @group setParam