Skip to content

Couple of questions on tsai #255

Answered by oguiza
strakehyr asked this question in Q&A
Nov 12, 2021 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

Hi @strakehyr,
I'd suggest that you start using the default settings. After some initial tests, you may then need to modify a few.

You can start with something like this:

tfms  = [None, TSRegression()]
batch_tfms = TSStandardize(by_var=True)
dls = get_ts_dls(X, y, splits=splits, tfms=tfms, batch_tfms=batch_tfms)
learn = ts_learner(dls, TSTPlus, metrics=[mae, mse], cbs=ShowGraph())

I don't know anything about the data, so it's a bit difficult to know where the nan values are coming from.
Something I always do is to try to achieve the desired performance on the training set. This will help you determine the number of epochs required. It may be 5 or 500. You'll only know when you try to over…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@strakehyr
Comment options

@strakehyr
Comment options

Comment options

You must be logged in to vote
2 replies
@strakehyr
Comment options

@oguiza
Comment options

Answer selected by strakehyr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants