how to use ts_learner + TSUnwindowedDataset properly for TS classification? #423
Unanswered
bellerofonte
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 everyone!
First of all I have to notice the huge amount of features this project implements. That is really great! But on another hand - it is sometimes unclear how to use those features properly.
I am trying to solve standard classification problem and facing to following issue:
I've installed
tsai 0.3.0
in separate env withpython 3.9.10
under miniforge'sconda
.I have a
pandas
dataframe with ~130 features and ~500K samples. I've labeled a target for each sample which is either 0 or 1.So I'm doing this:
next, I have to create
TSUnwindowedDataset
to be able to fit target using sliding windowy_func
is something to notice here. I as far a I understand, then using sliding window,y
(target) also becomes a slide, so I have to transform it into one value (last value of the slide)next, I make splits and datasets:
at this moment everything seems to be ok.
finally, I create loader and learner:
and i fails at
fit_one_cycle
method:I have also tried
TSStandardize
batch transformer before usingTSNormalize
but got the same error.So can anybody explain what am I doing wrong here?
Beta Was this translation helpful? Give feedback.
All reactions