You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a dataset with 116 time series, every time series has 6 dimensions and a length of 578 elements. When I have the data the following way
to_time_series_dataset(dataset) returns an array of shape (116, 6, 578) therefore (number of time series, dimensions, length of time series). However, the documentation mentions the data format (n_ts, max_sz, d).
To Reproduce dataset = to_time_series_dataset(dataset)
Expected behavior dataset.shape = (116, 578, 6)
Environment (please complete the following information):
OS: Linux
tslearn version: 0.1.29-1
The text was updated successfully, but these errors were encountered:
to_time_series_dataset does not reorder dimensions, so if your array (or array-like) is of shape (116, 6, 578), you will have to transpose it before passing it to to_time_series_dataset.
Describe the bug
I have a dataset with 116 time series, every time series has 6 dimensions and a length of 578 elements. When I have the data the following way
to_time_series_dataset(dataset)
returns an array of shape(116, 6, 578)
therefore(number of time series, dimensions, length of time series)
. However, the documentation mentions the data format(n_ts, max_sz, d)
.To Reproduce
dataset = to_time_series_dataset(dataset)
Expected behavior
dataset.shape = (116, 578, 6)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: