allow for control over running global and local models in the agent #192
+99
−8
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.
This pull request introduces new configuration options to control how forecasting models are run in the
finntspackage, specifically allowing users to enable or disable global and local model workflows. The changes provide more flexibility in model selection, improve backward compatibility, and add safeguards to ensure consistent behavior during updates. Documentation and internal logic are updated to reflect these enhancements.New model configuration options:
run_global_modelsandrun_local_modelsarguments to theset_agent_infoandset_agent_info_customfunctions, allowing users to specify whether to run global (multivariate) models across all time series and/or local models for individual time series. Defaults ensure global models are off for "week" and "day" date types unless explicitly enabled. [1] [2] [3] [4] [5] [6] [7] [8] [9]Workflow logic and validation improvements:
iterate_forecastworkflow to conditionally run global and local model optimization steps based on the new configuration flags, including informative messages when steps are skipped. [1] [2] [3] [4]Backward compatibility and update safeguards:
Documentation and metadata updates:
DESCRIPTION,NEWS.md, and function help files to reflect the new version (0.6.0.9012) and the added configuration options. [1] [2] [3]These changes collectively provide users with more control over forecasting strategies and improve reliability when managing and updating agent runs.