-
Notifications
You must be signed in to change notification settings - Fork 44
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
Added boolean disables, generation of train (metrics.csv) and test metrics (test_metrics.csv) #397
Merged
ahosler
merged 13 commits into
feature/forecasting
from
feature/add-boolean-disables-and-save-train-test-metrics-as-csvs
Nov 1, 2023
Merged
Changes from 5 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
7c32dfa
added boolean disables and added test_metrics.csv generation
govarsha 1660455
updated metrics_filename, test_metrics_filename, forecast_filename in…
govarsha 6824a57
changed report_file_name to report_filename
govarsha dccc779
added changes to schema.yaml
govarsha a9417fd
added comments
govarsha 52eaf9c
Merge branch 'feature/forecasting' into feature/add-boolean-disables-…
ahosler 9a8ab34
added train_metrics to base_model
govarsha db4b6f5
added forecast_col_name attribute to base_model
govarsha 1c4949a
small fixes to be consistent with recent changes
govarsha 8559ebf
fixing merge conflicts
govarsha baff6cd
resolving merge conflicts
govarsha d4d49bc
Merge branch 'feature/add-boolean-disables-and-save-train-test-metric…
govarsha 4eef4e0
Merge branch 'feature/forecasting' into feature/add-boolean-disables-…
ahosler 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 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 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 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
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.
If the all models require these extra attributes, maybe we can add them to the base model class?
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.
These values were defined for each model inside _generate_report method. I have abstracted them out as attributes because I needed them outside of that method.
The train_metrics value is True/False according to the model so I am not sure if we can define them in base_model. cc: @ahosler
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.
One thing you could do is add self.train_metrics = False to the base class, and then update it to True only in prophet and neuralprophet so that if we add model classes in the future
train_metrics
is disabled by default.