-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add Neural Networks functionality #18
Conversation
elineii
commented
Oct 18, 2024
•
edited
Loading
edited
- Change pipeline and transformers logic for neural networks compatibility. Introduced new transformers (Missing Values Imputer).
- The logic of estimators has been separated into a model and a validator, both managed by a trainer. There are two types of trainers: ML and DL, which handle the training and prediction cycles.
- Added neural network models: DLinear and PatchTST.
- Added multiple examples: tutorials on strategies, transformers, neural networks. Added a script for benchmarking all available configurations.
- Added logging and asserts on typical issues to enhance usability.
- Added tests for different parts of pipeline.
- Bug fixes.
…and fix backtest example (Tutorial_1_Quick_start.ipynb)
tsururu/dataset/dataset.py
Outdated
@@ -105,6 +109,10 @@ def __init__( | |||
print_freq_period_info: bool = True, | |||
): | |||
# Columns typing | |||
self._auto_type_columns(columns_params, "date", "datetime") | |||
self._auto_type_columns(columns_params, "id", "categorical") | |||
self._auto_type_columns(columns_params, "target", "continious") |
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.
Should be "continuous"
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.
fixed.
README.md
Outdated
- _TimeToNumGenerator_ and _DateSeasonsGenerator_: generates seasonal features (e.g., month, quarter, day of the week) from date information. | ||
- _LabelEncodingTransformer_ and _OneHotEncodingTransformer_: encodes categorical features. | ||
- _MissingValuesImputer_: handles missing values by imputing them with a chosen strategy. | ||
- _LagTransformer_: generates for lags. |
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.
generates lagged features
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.
fixed.
README.md
Outdated
## Multi-series prediction strategies: | ||
- _Local-modelling_: | ||
- An individual model for each time series. | ||
- Each time series as independent from others. | ||
- Each time series is independent from others. |
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.
Each time series is modeled independently of the others.
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.
fixed.