-
Notifications
You must be signed in to change notification settings - Fork 48
Return meaningful results from the Train-Predict pipeline compute method #1822
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 all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
da50f4b
Feat: add endpoint to trigger forecasting job for a sensor
BelhsanHmida b6969cf
chore: update tags for trigger_forecast to sensors
BelhsanHmida 72a9d7c
style: run pre-commit.
BelhsanHmida 9b8404b
chore: remove unused imports
BelhsanHmida 2ea181a
Feat: add source parameter to forecaster instantiation in SensorAPI
BelhsanHmida b1f10cf
Feat: allow dynamic model selection for forecaster instantiation in S…
BelhsanHmida ac51a25
Feat: return bdf from prediction pipeline upon successful completion
BelhsanHmida dc309b1
Feat: return forecasts from run_cycle in TrainPredictPipeline
BelhsanHmida 5b78fd0
Feat: return forecasts list from run_cycle in TrainPredictPipeline
BelhsanHmida 23b4f4e
fix: correctly pass as_job param in forecasting parameters
BelhsanHmida 41476e1
Feat: return forecasts in dict forma with data and sensor fields
BelhsanHmida 17707c3
Feat: initialize jobs list before while loop so we can store all jobs…
BelhsanHmida bfe774d
Feat: initialize return_values to store forecasts and jobs in TrainPr…
BelhsanHmida 6d30a53
Feat: append forecasts and sensor data to return_values in run_cycle
BelhsanHmida 280e8f7
Feat: remove unused forecasts_list and jobs variables in TrainPredict…
BelhsanHmida e3191c5
Feat: associate jobs with corresponding forecast entries in TrainPred…
BelhsanHmida cf29210
Feat: return combined forecasts and jobs from run method in TrainPred…
BelhsanHmida 5fa4161
Feat: return results from _compute_forecast method in TrainPredictPip…
BelhsanHmida d797a3f
Feat: append job entries to return_values in TrainPredictPipeline
BelhsanHmida 872db8e
Feat: store job IDs in return_values for corresponding forecast entri…
BelhsanHmida 9f878f9
Fix: conditionally assign sensors and source in compute method. this …
BelhsanHmida c5cbb3f
Feat: return multiple job IDs from forecasting computation in SensorAPI
BelhsanHmida bfe24be
Feat: conditionally check event resolution in Forecaster when not run…
BelhsanHmida 19b488b
style: run pre-commit
BelhsanHmida ac3f633
Merge branch 'main' into feat/complete-forecasting-pipeline-return
BelhsanHmida 8df1714
revert: return default value for consumption_is_positive in sensor po…
BelhsanHmida 908db72
Merge branch 'main' into feat/complete-forecasting-pipeline-return
BelhsanHmida 938882e
revert: remove trigger forecasting endpoint that's to be handled in t…
BelhsanHmida 7b976f9
feat: store result of compute method in pipeline_returns for further …
BelhsanHmida b171e75
feat: add assertion to ensure pipeline returns a list of dict
BelhsanHmida 77d5f19
test: validate pipeline return in case of pipeline run as_job or not
BelhsanHmida 2a8665e
style: run pre-commit
BelhsanHmida 893a9cd
feat: enhance assertion message for pipeline return validation
BelhsanHmida dfceb2d
feat: improve data comparison in train predict pipeline test with pan…
BelhsanHmida 9dc53d0
style: run pre-commit
BelhsanHmida a6d77a6
Merge branch 'main' into feat/complete-forecasting-pipeline-return
BelhsanHmida 3fcaa44
style: ignore complexity warning for test_train_predict_pipeline func…
BelhsanHmida a540585
Update flexmeasures/data/models/forecasting/pipelines/train_predict.py
BelhsanHmida fa48ef2
Update flexmeasures/data/tests/test_train_predict_pipeline.py
BelhsanHmida e34f4ac
chore: annotate run() with BeliefsDataFrame return type
BelhsanHmida 82ac0be
test: remove try/except around DataFrame comparison to show original …
BelhsanHmida 3e1f5fa
test: enhance job existence and completion checks in train_predict_pi…
BelhsanHmida 8da32b8
cli: enhance train_predict_pipeline to show detailed success messages
BelhsanHmida 1b3e500
style: run pre-commit
BelhsanHmida c29c870
docs: update CLI changelog with TrainPredictPipeline return values fe…
BelhsanHmida 1790ffc
Revert "docs: update CLI changelog with TrainPredictPipeline return v…
BelhsanHmida 7e1671c
docs: update changelog to include improved success and error messages…
BelhsanHmida 9ca8e59
docs: fix formatting of changelog entry
BelhsanHmida d420295
docs: add _ to github pr link
BelhsanHmida d3638be
Merge branch 'main' into feat/complete-forecasting-pipeline-return
BelhsanHmida 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
Some comments aren't visible on the classic Files Changed page.
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.