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