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
4 changes: 0 additions & 4 deletions python/pyspark/ml/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ class Estimator(Params, Generic[M], metaclass=ABCMeta):
.. versionadded:: 1.3.0
"""

pass

@abstractmethod
def _fit(self, dataset: DataFrame) -> M:
"""
Expand Down Expand Up @@ -220,8 +218,6 @@ class Transformer(Params, metaclass=ABCMeta):
.. versionadded:: 1.3.0
"""

pass

@abstractmethod
def _transform(self, dataset: DataFrame) -> DataFrame:
"""
Expand Down
2 changes: 0 additions & 2 deletions python/pyspark/ml/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ class Evaluator(Params, metaclass=ABCMeta):
.. versionadded:: 1.4.0
"""

pass

@abstractmethod
def _evaluate(self, dataset: DataFrame) -> float:
"""
Expand Down
1 change: 0 additions & 1 deletion python/pyspark/tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ def run():
try:
daemon_pid, worker_pid = map(int, data)
except ValueError:
pass
# In case the value is not written yet.
cnt += 1
if cnt == 10:
Expand Down