Skip to content

Commit

Permalink
Add missing params to ShapeletImportance estimator
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Nov 12, 2024
1 parent e3f2b11 commit 99d7589
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wildboar/explain/_importance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,8 @@ def fit(self, estimator, X, y, sample_weight=None):
metric=self.metric,
min_shapelet_size=self.min_shapelet_size,
max_shapelet_size=self.max_shapelet_size,
coverage_probability=self.coverage_probability,
variability=self.variability,
random_state=random_state.randint(np.iinfo(np.int32).max),
).fit(X)

Expand Down

0 comments on commit 99d7589

Please sign in to comment.