write.ml {SparkR} | R Documentation |
Saves the MLlib model to the input path. For more information, see the specific MLlib model below.
write.ml(object, path, ...)
object |
a fitted ML model object. |
path |
the directory where the model is saved. |
... |
additional argument(s) passed to the method. |
spark.kmeans, spark.naiveBayes, spark.survreg