Skip to content

Commit

Permalink
Update _dont_refit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fkiraly committed Sep 27, 2024
1 parent c3d9fa1 commit b3cc2d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skpro/regression/online/_dont_refit.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def __init__(self, estimator):
]
self.clone_tags(estimator, tags_to_clone)

self.estimator_ = self.estimator.clone()

def _update(self, X, y, C=None):
"""Update regressor with new batch of training data.
Expand Down

0 comments on commit b3cc2d8

Please sign in to comment.