-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
questionFurther information is requestedFurther information is requested
Description
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
from tsaug import TimeWarp, Crop, Quantize, Drift, Reverse
my_augmenter = (
TimeWarp() * 5 # random time warping 5 times in parallel
+ Crop(size=300) # random crop subsequences with length 300
+ Quantize(n_levels=[10, 20, 30]) # random quantize to 10-, 20-, or 30- level sets
+ Drift(max_drift=(0.1, 0.5)) @ 0.8 # with 80% probability, random drift the signal up to 10% - 50%
+ Reverse() @ 0.5 # with 50% probability, reverse the sequence
)
data, labels = my_augmenter.augment(data, labels)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested