Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/pyspark/ml/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class Transformer(Params):
@abstractmethod
def _transform(self, dataset):
"""
Transforms the input dataset with optional parameters.
Transforms the input dataset.

:param dataset: input dataset, which is an instance of
:py:class:`pyspark.sql.DataFrame`
Expand Down
3 changes: 2 additions & 1 deletion python/pyspark/ml/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#

from abc import ABCMeta
from abc import ABCMeta, abstractmethod

from pyspark import SparkContext
from pyspark.sql import DataFrame
Expand Down Expand Up @@ -110,6 +110,7 @@ class JavaEstimator(Estimator, JavaWrapper):

__metaclass__ = ABCMeta

@abstractmethod
def _create_model(self, java_model):
"""
Creates a model from the input Java model reference.
Expand Down