Saves the MLlib model to the input path. For more information, see the specific MLlib model below.
write.ml(object, path, ...)a fitted ML model object.
the directory where the model is saved.
additional argument(s) passed to the method.
spark.als, spark.bisectingKmeans, spark.decisionTree,
spark.gaussianMixture, spark.gbt,