diff options
author | Joseph K. Bradley <joseph@databricks.com> | 2016-04-25 11:02:32 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2016-04-25 11:02:32 -0700 |
commit | c7758ba3843ad2403f857ea28a36a63f37606020 (patch) | |
tree | 1d257f062f7d586ffab9160ed6c6503a3296c684 /python/pyspark | |
parent | b50e2eca93e6b0c391901f1e6d30628f8b6ebaa5 (diff) | |
download | spark-c7758ba3843ad2403f857ea28a36a63f37606020.tar.gz spark-c7758ba3843ad2403f857ea28a36a63f37606020.tar.bz2 spark-c7758ba3843ad2403f857ea28a36a63f37606020.zip |
[MINOR][ML][PYTHON][DOC] Remove use of JavaMLWriter/Reader in public Python API docs
## What changes were proposed in this pull request?
Removed instances of JavaMLWriter, JavaMLReader appearing in public Python API docs
## How was this patch tested?
n/a
Author: Joseph K. Bradley <joseph@databricks.com>
Closes #12542 from jkbradley/javamlwriter-doc.
Diffstat (limited to 'python/pyspark')
-rw-r--r-- | python/pyspark/ml/util.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/pyspark/ml/util.py b/python/pyspark/ml/util.py index 7003e587ad..dc3914f95e 100644 --- a/python/pyspark/ml/util.py +++ b/python/pyspark/ml/util.py @@ -122,7 +122,7 @@ class MLWritable(object): @property def write(self): - """Returns an JavaMLWriter instance for this ML instance.""" + """Returns an MLWriter instance for this ML instance.""" raise NotImplementedError("MLWritable is not yet implemented for type: %r" % type(self)) def save(self, path): @@ -138,7 +138,7 @@ class JavaMLWritable(MLWritable): @property def write(self): - """Returns an JavaMLWriter instance for this ML instance.""" + """Returns an MLWriter instance for this ML instance.""" return JavaMLWriter(self) @@ -221,7 +221,7 @@ class MLReadable(object): @classmethod def read(cls): - """Returns an JavaMLReader instance for this class.""" + """Returns an MLReader instance for this class.""" raise NotImplementedError("MLReadable.read() not implemented for type: %r" % cls) @classmethod @@ -238,5 +238,5 @@ class JavaMLReadable(MLReadable): @classmethod def read(cls): - """Returns an JavaMLReader instance for this class.""" + """Returns an MLReader instance for this class.""" return JavaMLReader(cls) |