-
In the MiniRocket tutorial notebook, is the variable X in the following code formatted as follows? Here's the Code:
Is this how the variable X is formatted? So, if I had 10 training samples, that each had 11 time steps with 2 dimensions per time step, then would X's shape be 10x2x11? Is it assumed that X is ordered such that the time sequence is ascending? i.e. the first elements along the third dimension sequence_length are the oldest in time? i.e. X[0,:,0] would be the oldest time step for the first sample and X[0,:,-1] would be the most recent time step? Do these time steps have to occur at even intervals or can they occur at uneven intervals? Meaning the elements along the sequence_length dimension, do they have to exist at say seconds 1, 2, 3, 4, etc. Or can they exist at arbitrary time steps - seconds 1.2, 1.5, 2.7, 4.5, etc. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @YojoNick, I'l try to answer all your questions:
Yes
Yes
It doesn't really matter whether it's ascending or descending as long as you consistently apply the same approach (during training and inference). Usually the first element is the oldest one though.
This is very interesting. I'd say it depends on the model. For CNNs and MiniRocket (which applies a 10_000 non-learnable convolutions) I'd say they need to be evenly distributed. |
Beta Was this translation helpful? Give feedback.
-
@oguiza that is super helpful. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Btw, the above definitely answered my questions. I'm kind of a new to github discussions. I don't know if I mark it as answered or someone else does. Regardless, thanks again for the prompt and in depth response! |
Beta Was this translation helpful? Give feedback.
-
For anyone who stumbles across this thread, the format of the data is documented on this tutorial notebook: |
Beta Was this translation helpful? Give feedback.
Btw, the above definitely answered my questions. I'm kind of a new to github discussions. I don't know if I mark it as answered or someone else does. Regardless, thanks again for the prompt and in depth response!