Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/8085#discussion_r36782862
--- Diff: docs/sparkr.md ---
@@ -210,6 +210,43 @@ head(df)
{% endhighlight %}
</div>
+### Model Formulae
+
+SparkR allows the fitting of generalized linear models over DataFrames
using the glm() function. Under the hood, SparkR uses MLlib to train a model of
the specified family. In Spark 1.5, we support a subset of the available R
formula operators for model fitting, including '~', '.', '+', and '-'. The
example below shows the use of R formulae with SparkR.
--- End diff --
Actually it'll be better to talk about the families and link functions
supported here before the formula. Also we could reword the example sentence to
say `the example below shows the use of building a gaussian GLM model using
SparkR`.
---
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]