-
Notifications
You must be signed in to change notification settings - Fork 302
Score fixed #485
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: development
Are you sure you want to change the base?
Score fixed #485
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -146,10 +146,7 @@ def __init__(self, backend: Backend, queue: Queue, | |
| self.num_sequences = self.datamanager.num_sequences | ||
| self.num_targets = self.datamanager.num_targets | ||
| self.seq_length_min = np.min(self.num_sequences) | ||
| seasonality = SEASONALITY_MAP.get(self.datamanager.freq, 1) | ||
| if isinstance(seasonality, list): | ||
| seasonality = min(seasonality) # Use to calculate MASE | ||
| self.seasonality = int(seasonality) # type: ignore[call-overload] | ||
| self.seasonality = self.datamanager.seasonality | ||
|
Contributor
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. In the
Contributor
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. you can also do it as a separate PR
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. data manager is required somewhere else by the time series evaluator because I defined time series dataset's getitem differently. Maybe in the future, we could fix that. But currently, I would prefer to keep self.datamanager in the evaluator
Contributor
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. okay sure. |
||
|
|
||
| self.max_budget = max_budget | ||
| self.min_num_test_instances = min_num_test_instances | ||
|
|
||
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.
could you add a note saying something like: Currently, needed for time series forecasting tasks. See
autoPyTorch/api/time_series_forecasting.py