Variable sequence_length
ts for MiniRocket Pytorch
#857
Unanswered
ChrystleMyrnaLobo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm using the MiniRocket Pytorch implementation for multivariate time series classification. Thanks for the GPU compatible implementation! :D
I want to use it with variable sequence_length input. I do not want to make the ts data fixed length (by padding). Instead, treat it as variable length itself and leverage the fully convolutional network of MiniRocket. The input shape for MiniRocket feature extractor is
n_samples x n_variables x sequence_length
and output isn_samples x 9996 x 1
which is independent of the input sequence_length.While there are no errors in the forward pass of MiniRocket, the output features have nan values for last few features/filter output when input sequence_length is lesser than the
seq_len
of MiniRocketFeatures constructor. Could you please help me understand why some features are nan? What should be theseq_len
of MiniRocketFeatures constructor if the X_train has variable sequence_length?Minimal code to reproduce the issue
Output
Related discussion: this
Beta Was this translation helpful? Give feedback.
All reactions