Open talhaanwarch opened 4 years ago
The Y in tsaug
is considered as point-wise label to X. In other words, if Y is present, then it is assumed for segmentation purpose. I guess your problem is a classification problem as you have 54 time series (each of which has 337 time points) and your label is per series instead of per time point. If so, you only need to augment X and assume the classification labels invariant.
The Y in
tsaug
is considered as point-wise label to X. In other words, if Y is present, then it is assumed for segmentation purpose. I guess your problem is a classification problem as you have 54 time series (each of which has 337 time points) and your label is per series instead of per time point. If so, you only need to augment X and assume the classification labels invariant.
After doing this, shape of X is (270, 300)
and the shape of y is (54,)
. So how can I make the shape of y equal in length of X? Is each row is augmented exactly the 5
times? or there are some rows augmented more and some less.
Yes, every row is augmented exactly 5 times.
The shape of X is
(54, 337)
and the shape of y is(54,)
. But I am getting error. I am using the following code