[ENH] extend sktime ForecastingOptCV with broadcasting options and returned parameters
#205
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.
Summary
Extend
ForecastingOptCVto expose sktime’s broadcasting controls plus richer post-fit diagnostics, aligning it more closely withForecastingGridSearchCVwhile keeping Hyperactive optimizers in play. Also document the new knobs and assert the behavior via integration tests.Changes
tune_by_instance/tune_by_variableinit params. When sktime is available we reuse its delegated tagging (_set_delegated_tags+_extend_to_all_scitypes) so panel/multivariate broadcasting follows the native implementation rather than a bespoke copy.fitnow recordsscorer_,n_splits_,best_index_,best_score_,best_params_,best_forecaster_,refit_time_, and acv_results_table (the backtesting results for the winning configuration). We time refits withtime.perf_counterand keep the optimizer’s best index when available.Related Issues
Fixes #198