Skip to content

Commit

Permalink
update save doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Mar 1, 2015
1 parent 57e5200 commit f135dac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions python/pyspark/mllib/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def save(self, sc, path):
: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.
this model. If the directory already exists,
this method throws an exception.
"""
raise NotImplementedError

Expand Down

0 comments on commit f135dac

Please sign in to comment.