Skip to content

Window size is too large while using ostinato #605

Discussion options

You must be logged in to vote

@ChrisCalvin Welcome to the STUMPY community. It's hard to know what is causing this issue without a minimum-reproducible-example (with data) but, based on what the error is saying:

ValueError: The window size must be less than or equal to 6

This implies that your window size, m, is too large and, in fact, is larger than the length of one (or more) of the time series in your list of time series. Note that Ts_df must be a Python list of time series. Based on your usage of Ts_df.values, this implies that Ts_df is NOT a Python list and is, instead, a Pandas dataframe with multiple time series in each column. This will not work with ostinato and you will get unexpected (bad) results. Instead…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChrisCalvin
Comment options

Answer selected by ChrisCalvin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants