aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorXiangrui Meng <meng@databricks.com>2015-03-01 16:26:57 -0800
committerXiangrui Meng <meng@databricks.com>2015-03-01 16:26:57 -0800
commitaedbbaa3dda9cbc154cd52c07f6d296b972b0eb2 (patch)
tree4ba785e145c21b93e1e4c49ae33899642b1f3cea /mllib
parentfd8d283eeb98e310b1e85ef8c3a8af9e547ab5e0 (diff)
downloadspark-aedbbaa3dda9cbc154cd52c07f6d296b972b0eb2.tar.gz
spark-aedbbaa3dda9cbc154cd52c07f6d296b972b0eb2.tar.bz2
spark-aedbbaa3dda9cbc154cd52c07f6d296b972b0eb2.zip
[SPARK-6053][MLLIB] support save/load in PySpark's ALS
A simple wrapper to save/load `MatrixFactorizationModel` in Python. jkbradley Author: Xiangrui Meng <meng@databricks.com> Closes #4811 from mengxr/SPARK-5991 and squashes the following commits: f135dac [Xiangrui Meng] update save doc 57e5200 [Xiangrui Meng] address comments 06140a4 [Xiangrui Meng] Merge remote-tracking branch 'apache/master' into SPARK-5991 282ec8d [Xiangrui Meng] support save/load in PySpark's ALS
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/util/modelSaveLoad.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/util/modelSaveLoad.scala b/mllib/src/main/scala/org/apache/spark/mllib/util/modelSaveLoad.scala
index 4458340497..526d055c87 100644
--- a/mllib/src/main/scala/org/apache/spark/mllib/util/modelSaveLoad.scala
+++ b/mllib/src/main/scala/org/apache/spark/mllib/util/modelSaveLoad.scala
@@ -48,7 +48,7 @@ trait Saveable {
*
* @param sc Spark context used to save model data.
* @param path Path specifying the directory in which to save this model.
- * This directory and any intermediate directory will be created if needed.
+ * If the directory already exists, this method throws an exception.
*/
def save(sc: SparkContext, path: String): Unit