-
When I try to run the HIVECOTEV2 model, the following is the error that I encounter. I am using default parameters. I dont understand what the error is and I appreciate your comments. from sktime.classification.hybrid import HIVECOTEV2 UserWarning: TemporalDictionaryEnsemble warning: min_window = 10 is larger than max_window = 9. min_window has been set to 9. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It looks like this comes from an interaction of TDE's defaults The default for That should explain the warning? As a side note, if your time series are very short, you may like to try simply flattening to an n times 9 data frame (instances times timepoits), and applying any Why: many of the "bespoke" classifiers assume long and/or reasonably smooth time series. Wheras 9 time points usually means very coarse sampling. The code for a "tabularized" classifier, with from sklearn.ensemble import RandomForestClassifier
from sktime.transformations.panel.reduce import Tabularizer
clf = Tabularizer() * RandomForestClassifier() |
Beta Was this translation helpful? Give feedback.
It looks like this comes from an interaction of TDE's defaults
min_window
andmax_window_prop
parameters, and your time series being - probably? - of length 9.The default for
max_window
is length of your time series (instances), which I assume is 9. And formin_window
it is the integer 10.That should explain the warning?
As a side note, if your time series are very short, you may like to try simply flattening to an n times 9 data frame (instances times timepoits), and applying any
sklearn
classifier (e.g.,RandomForestClassifier
) - and use this as a "simple tabular" baseline.Why: many of the "bespoke" classifiers assume long and/or reasonably smooth time series. Wheras 9 time points us…