-
Notifications
You must be signed in to change notification settings - Fork 683
[ENH] Implementing D2 data module layer for tslib
models.
#1836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Minor structure request: can you kindly make the attention
etc modules in layers
actual folders, in those private submodules with a single class each?
this completes the d2 pipeline for timexer, prediction has not been tested, also revert the loss dtype to nn.Module for now.
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
FYI @agobbifbk @fkiraly @phoeenniixx. Rough Pipeline for |
this change introduces sub-directories to provide a single module for a group of layers rather than dumping them in a single file with the same as the sub-directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
- there is an empty file
modules.py
, can you remove this from the PR? - can you ensure the new base class has the "experimental" warning for now, similar to the v2 base model
- could you put the base class in another private file, in
base
?
I went through the PR #1841, and considering that @phoeenniixx is implementing a v2 version of the Is it advisable to stack upon PR #1841? Or should I wait for a merge and work only on the independent tests for the |
(code formatting is failing) |
Did code quality tests change @fkiraly? The pre commit tests are passing on my local repo, but here it is failing. EDIT: Resolved. |
Hi @agobbifbk , continuing the discussion from the meet about the windowing, this is the code I was talking about Specifically the implementation in the class After going through the code deeper, I understand what you were saying, I don't think it matters what windowing we use as long as it matches with model input and makes it convenient to keep single one in the Also FYI @phoeenniixx , since you were also involved in the discussion. |
…pes between end_time and cutoff_time in _create_windows
Description
This PR fixes issue #1833, implements a D2 for
tslib
.This PR involves the following changes:
tslib
- linkTimeXer
with new data module. - linkTslibBaseModel
- link.tslib
data module. - linkChecklist
pre-commit install
.To run hooks independent of commit, execute
pre-commit run --all-files
Make sure to have fun coding!