angus924 / minirocket

MINIROCKET: A Very Fast (Almost) Deterministic Transform for Time Series Classification
GNU General Public License v3.0
273 stars 32 forks source link

Minimum length time series #11

Closed TommasoBendinelli closed 2 years ago

TommasoBendinelli commented 2 years ago

Hi, What is the minimum length of a time series for Minirocket? I have tried with time series of length 4 but It throws me an error

angus924 commented 2 years ago

Hi Tommaso,

The minimum length is 9, but you can get around this in a couple of ways, e.g., padding the time series to a length of at least 9, or making a small edit to the code so that padding is always "on" (rather than alternating between padding/not padding).

Does this help?

Thanks very much.

Best,

Angus