From c7758ba3843ad2403f857ea28a36a63f37606020 Mon Sep 17 00:00:00 2001 From: "Joseph K. Bradley" Date: Mon, 25 Apr 2016 11:02:32 -0700 Subject: [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 Closes #12542 from jkbradley/javamlwriter-doc. --- python/pyspark/ml/util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'python') 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) -- cgit v1.2.3