diff options
Diffstat (limited to 'docs/ml-classification-regression.md')
-rw-r--r-- | docs/ml-classification-regression.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/ml-classification-regression.md b/docs/ml-classification-regression.md index 43cc79b9c0..575959307a 100644 --- a/docs/ml-classification-regression.md +++ b/docs/ml-classification-regression.md @@ -389,6 +389,14 @@ Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.classificat {% include_example python/ml/naive_bayes_example.py %} </div> + +<div data-lang="r" markdown="1"> + +Refer to the [R API docs](api/R/spark.naiveBayes.html) for more details. + +{% include_example naiveBayes r/ml.R %} +</div> + </div> @@ -566,6 +574,13 @@ Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.regression. {% include_example python/ml/generalized_linear_regression_example.py %} </div> +<div data-lang="r" markdown="1"> + +Refer to the [R API docs](api/R/spark.glm.html) for more details. + +{% include_example glm r/ml.R %} +</div> + </div> @@ -755,6 +770,13 @@ Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.regression. {% include_example python/ml/aft_survival_regression.py %} </div> +<div data-lang="r" markdown="1"> + +Refer to the [R API docs](api/R/spark.survreg.html) for more details. + +{% include_example survreg r/ml.R %} +</div> + </div> |