Skip to content
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 tests for models on data with integer timestamp #188

Merged
merged 6 commits into from Dec 14, 2023

Conversation

d-a-bunin
Copy link
Collaborator

@d-a-bunin d-a-bunin commented Dec 11, 2023

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

Look #178.

Closing issues

Closes #178.

@d-a-bunin d-a-bunin self-assigned this Dec 11, 2023
Copy link

github-actions bot commented Dec 11, 2023

🚀 Deployed on https://deploy-preview-188--etna-docs.netlify.app

@github-actions github-actions bot temporarily deployed to pull request December 11, 2023 08:14 Inactive
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (unaligned-data@5f79b79). Click here to learn what that means.

Additional details and impacted files
@@                Coverage Diff                @@
##             unaligned-data     #188   +/-   ##
=================================================
  Coverage                  ?   89.87%           
=================================================
  Files                     ?      198           
  Lines                     ?    13172           
  Branches                  ?        0           
=================================================
  Hits                      ?    11838           
  Misses                    ?     1334           
  Partials                  ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

(NaiveModel(lag=3), []),
(NBeatsInterpretableModel(input_size=7, output_size=7, trainer_params=dict(max_epochs=1)), []),
(NBeatsGenericModel(input_size=7, output_size=7, trainer_params=dict(max_epochs=1)), []),
(RNNModel(input_size=2, encoder_length=7, decoder_length=7, trainer_params=dict(max_epochs=1)), []),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We should discuss is it ok that we should change input_size from 1 to 2.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was decided that it isn't a good behavior and time feature should be ignored even if it is integer.

Copy link
Collaborator

Choose a reason for hiding this comment

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

so we should change it to 1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, we could change it to 1 and move into test-case with errors. Fixing the error will be done in a separate task.

@martins0n martins0n self-requested a review December 12, 2023 07:40
@github-actions github-actions bot temporarily deployed to pull request December 12, 2023 11:50 Inactive
ts_int_timestamp, model, transforms, method_name="predict", num_skip_points=50
)

@to_be_fixed(raises=NotImplementedError, match="Method predict isn't currently implemented")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Have we not implemented it yet?
what a shame...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it still isn't implemented. Let's at least create an issue about it.

Copy link
Collaborator

@martins0n martins0n left a comment

Choose a reason for hiding this comment

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

.

@github-actions github-actions bot temporarily deployed to pull request December 12, 2023 16:21 Inactive
Copy link
Collaborator

@martins0n martins0n left a comment

Choose a reason for hiding this comment

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

👍

@d-a-bunin d-a-bunin merged commit 804490c into unaligned-data Dec 14, 2023
16 checks passed
@d-a-bunin d-a-bunin deleted the issue-178 branch December 14, 2023 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants