Skip to content

Commit

Permalink
remove useless pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ogrisel committed Apr 26, 2019
1 parent 9d8269a commit d63d9db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sklearn/ensemble/_hist_gradient_boosting/loss.py
Expand Up @@ -79,7 +79,6 @@ def get_baseline_prediction(self, y_train, prediction_dim):
baseline_prediction : float or ndarray, shape (1, prediction_dim)
The baseline prediction.
"""
pass

@abstractmethod
def update_gradients_and_hessians(self, gradients, hessians, y_true,
Expand All @@ -103,7 +102,6 @@ def update_gradients_and_hessians(self, gradients, hessians, y_true,
The raw_predictions (i.e. values from the trees) of the tree
ensemble at iteration ``i - 1``.
"""
pass


class LeastSquares(BaseLoss):
Expand Down

0 comments on commit d63d9db

Please sign in to comment.