-
Notifications
You must be signed in to change notification settings - Fork 324
[FIX] Deprecate insample endpoint #712
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7965cec
switch_insample_to_cv
elephaint 341e7da
revert_logging_message
elephaint f496502
revert_conftest
elephaint 47ca89b
remove_debug_message
elephaint 6396945
fix_tests
elephaint dcfa556
fix_ex_warnings_test
elephaint 7b49d27
fix_forecast_error_test
elephaint a9350aa
fix_test
elephaint c7b3af7
fix_tests
elephaint 7d9553a
Merge branch 'main' into fix/deprecate_insample_endpoint
elephaint File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -255,19 +255,19 @@ def test_forecast_quantiles_output( | |
| ("cross_validation", {"h": 7, "n_windows": 2}, False), | ||
| ("forecast", {"h": 7, "add_history": True}, False), | ||
| ("detect_anomalies", {"level": 98}, True), | ||
| ("cross_validation", {"h": 7, "n_windows": 2}, False), | ||
| ("forecast", {"h": 7, "add_history": True}, False), | ||
| ("cross_validation", {"h": 7, "n_windows": 2}, True), | ||
| ("forecast", {"h": 7, "add_history": True}, True), | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think these two tests should be "True", otherwise they are identical to the ones above it. |
||
| ], | ||
| ) | ||
| def test_num_partitions_same_results_parametrized( | ||
| nixtla_test_client, df_freq_generator, method_name, method_kwargs, freq, exog | ||
| ): | ||
| mathod_mapper = { | ||
| method_mapper = { | ||
| "detect_anomalies": nixtla_test_client.detect_anomalies, | ||
| "cross_validation": nixtla_test_client.cross_validation, | ||
| "forecast": nixtla_test_client.forecast, | ||
| } | ||
| method = mathod_mapper[method_name] | ||
| method = method_mapper[method_name] | ||
|
|
||
| df_freq = df_freq_generator(n_series=10, min_length=500, max_length=550, freq=freq) | ||
| df_freq["ds"] = df_freq.groupby("unique_id", observed=True)["ds"].transform( | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Fwiw keeping the same logging message here to not confuse users