Skip to content

Commit

Permalink
fix: remove _is_fitted from BasePenalty init
Browse files Browse the repository at this point in the history
It is inherited from BaseEstimator
  • Loading branch information
Tveten committed Jan 4, 2025
1 parent c601034 commit b9c5657
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions skchange/penalties/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ def __init__(self, scale: float = 1.0):
if self.scale < 0:
raise ValueError("scale must be non-negative")

self._is_fitted = False

def fit(
self, X: Union[pd.DataFrame, pd.Series, np.ndarray], scorer: BaseIntervalScorer
) -> "BasePenalty":
Expand Down

0 comments on commit b9c5657

Please sign in to comment.