huaxingao commented on a change in pull request #27570: [SPARK-30820][SPARKR][ML] Add FMClassifier to SparkR URL: https://github.com/apache/spark/pull/27570#discussion_r383017696
########## File path: docs/ml-classification-regression.md ########## @@ -563,6 +563,15 @@ Refer to the [Python API docs](api/python/pyspark.ml.html#pyspark.ml.classificat {% include_example python/ml/fm_classifier_example.py %} </div> +<div data-lang="r" markdown="1"> + +Refer to the [R API docs](api/R/spark.fmClassifier.html) for more details. + +Note: At the moment SparkR doesn't suport feature scaling. + +{% include_example r/ml/fmClassifier.R %} Review comment: Thanks for the quick update. Actually, this should be ```{% include_example classification r/ml/fmClassifier.R %}``` or remove the ```classification``` from these two lines in the example (It might be better to update the example): ```# $example on:classification$``` ```# $example off:classification$``` Otherwise, the docs build will fail. When I do documentation changes, I normally build and check. Here are the instructions for how to build the docs: https://github.com/apache/spark/tree/master/docs ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org