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.als, spark.gaussianMixture, spark.gbt, spark.isoreg,
spark.lda, spark.logit, spark.mlp, spark.naiveBayes,
spark.randomForest, spark.survreg,