Learn R Programming

SparkR (version 3.1.2)

write.ml: Saves the MLlib model to the input path

Description

Saves the MLlib model to the input path. For more information, see the specific MLlib model below.

Usage

write.ml(object, path, ...)

Arguments

object

a fitted ML model object.

path

the directory where the model is saved.

...

additional argument(s) passed to the method.

See Also

spark.als, spark.bisectingKmeans, spark.decisionTree,

spark.gaussianMixture, spark.gbt,

spark.glm, glm, spark.isoreg,

spark.kmeans,

spark.lda, spark.logit,

spark.mlp, spark.naiveBayes,

spark.randomForest, spark.survreg, spark.svmLinear,

read.ml