write.ml {SparkR}R Documentation

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.glm, glm,

spark.als, spark.gaussianMixture, spark.gbt, spark.isoreg,

spark.kmeans,

spark.lda, spark.logit, spark.mlp, spark.naiveBayes,

spark.randomForest, spark.survreg,

read.ml


[Package SparkR version 2.1.1 Index]