Skip to content
Closed
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
9 changes: 9 additions & 0 deletions aeon/classification/dictionary_based/_cboss.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,15 @@ def _fit(self, X, y, keep_train_preds=True):
-----
Changes state by creating a fitted model that updates attributes
ending in "_" and sets is_fitted flag to True.

Raises
------
_ _ _ _
TypeError
If X is not a numpy.ndarray,pandas.Dataframe, or list of numpy.ndarray/pandas.DataFrame.
ValueError
If min_window is greater than the computed max_window, which is based on the series length.
This can occur if the series is too short or min_window is set too large in the constructor.
"""
time_limit = self.time_limit_in_minutes * 60
self.n_cases_, _, self.n_timepoints_ = X.shape
Expand Down
Loading