Skip to content

Change make_samples of RNNNet and MLPNet to speed up the conversion of data into torch.Dataset #1281

Merged
merged 5 commits into from
Jun 6, 2023

Conversation

ostreech1997
Copy link
Collaborator

Before submitting (must do checklist)

  • Did you read the contribution guide?
  • Did you update the docs? We use Numpy format for all the methods and classes.
  • Did you write any new necessary tests?
  • Did you update the CHANGELOG?

Proposed Changes

Closing issues

Closes #1278

@github-actions
Copy link

github-actions bot commented Jun 5, 2023

@github-actions github-actions bot temporarily deployed to pull request June 5, 2023 19:27 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Jun 5, 2023

Codecov Report

Merging #1281 (5c8bc20) into master (8e8c0f6) will decrease coverage by 0.33%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #1281      +/-   ##
==========================================
- Coverage   88.06%   87.73%   -0.33%     
==========================================
  Files         187      187              
  Lines       10822    10825       +3     
==========================================
- Hits         9530     9497      -33     
- Misses       1292     1328      +36     
Impacted Files Coverage Δ
etna/models/nn/mlp.py 100.00% <100.00%> (ø)
etna/models/nn/rnn.py 100.00% <100.00%> (ø)

... and 3 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@Mr-Geekman Mr-Geekman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything is good, check the questions above.

CHANGELOG.md Outdated
@@ -17,7 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Inherit `SaveMixin` from `AbstractSaveable` for mypy checker ([#1261](https://github.com/tinkoff-ai/etna/pull/1261))
- Update requirements for `holidays` and `scipy`, change saving library from `pickle` to `dill` in `SaveMixin` ([#1268](https://github.com/tinkoff-ai/etna/pull/1268))
- Update requirement for `ruptures`, add requirement for `sqlalchemy` ([#1276](https://github.com/tinkoff-ai/etna/pull/1276))
-
- `make_samples` of `RNNNet` and `MLPNet` ([#1281](https://github.com/tinkoff-ai/etna/pull/1281))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to write:

Optimize make_samples ...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

etna/models/nn/rnn.py Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to pull request June 6, 2023 10:59 Inactive
@github-actions github-actions bot temporarily deployed to pull request June 6, 2023 15:54 Inactive
@ostreech1997 ostreech1997 merged commit 106b989 into master Jun 6, 2023
@ostreech1997 ostreech1997 deleted the issue-1278 branch June 6, 2023 17:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change make_samples of RNNNet and MLPNet to speed up the conversion of data into torch.Dataset
3 participants