You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jk...@apache.org on 2016/04/25 20:02:36 UTC

spark git commit: [MINOR][ML][PYTHON][DOC] Remove use of JavaMLWriter/Reader in public Python API docs

Repository: spark
Updated Branches:
  refs/heads/master b50e2eca9 -> c7758ba38


[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 <jo...@databricks.com>

Closes #12542 from jkbradley/javamlwriter-doc.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c7758ba3
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c7758ba3
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c7758ba3

Branch: refs/heads/master
Commit: c7758ba3843ad2403f857ea28a36a63f37606020
Parents: b50e2ec
Author: Joseph K. Bradley <jo...@databricks.com>
Authored: Mon Apr 25 11:02:32 2016 -0700
Committer: Joseph K. Bradley <jo...@databricks.com>
Committed: Mon Apr 25 11:02:32 2016 -0700

----------------------------------------------------------------------
 python/pyspark/ml/util.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c7758ba3/python/pyspark/ml/util.py
----------------------------------------------------------------------
diff --git a/python/pyspark/ml/util.py b/python/pyspark/ml/util.py
index 7003e58..dc3914f 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)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org