Skip to content
Snippets Groups Projects
Commit c7758ba3 authored by Joseph K. Bradley's avatar Joseph K. Bradley
Browse files

[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.
parent b50e2eca
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ class MLWritable(object): ...@@ -122,7 +122,7 @@ class MLWritable(object):
@property @property
def write(self): 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)) raise NotImplementedError("MLWritable is not yet implemented for type: %r" % type(self))
def save(self, path): def save(self, path):
...@@ -138,7 +138,7 @@ class JavaMLWritable(MLWritable): ...@@ -138,7 +138,7 @@ class JavaMLWritable(MLWritable):
@property @property
def write(self): def write(self):
"""Returns an JavaMLWriter instance for this ML instance.""" """Returns an MLWriter instance for this ML instance."""
return JavaMLWriter(self) return JavaMLWriter(self)
...@@ -221,7 +221,7 @@ class MLReadable(object): ...@@ -221,7 +221,7 @@ class MLReadable(object):
@classmethod @classmethod
def read(cls): 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) raise NotImplementedError("MLReadable.read() not implemented for type: %r" % cls)
@classmethod @classmethod
...@@ -238,5 +238,5 @@ class JavaMLReadable(MLReadable): ...@@ -238,5 +238,5 @@ class JavaMLReadable(MLReadable):
@classmethod @classmethod
def read(cls): def read(cls):
"""Returns an JavaMLReader instance for this class.""" """Returns an MLReader instance for this class."""
return JavaMLReader(cls) return JavaMLReader(cls)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment