Add a Nixtla global gradient-boosting engine to the mlforecast app#24
Open
dnplkndll wants to merge 1 commit into
Open
Add a Nixtla global gradient-boosting engine to the mlforecast app#24dnplkndll wants to merge 1 commit into
dnplkndll wants to merge 1 commit into
Conversation
The mlforecast app gains a second, selectable engine via the new parameter forecast.MachineLearning_engine (default "orbit", unchanged behaviour): - "orbit": the existing per-series Bayesian model. - "nixtla": a single global LightGBM model (mlforecast + lightgbm, needs the libgomp1 system library) trained across all forecast records, using lag, rolling-window and calendar features. Series with too little history, or a failed fit, fall back to the statistical forecast exactly like orbit. The forecasting core lives in freppledb/mlforecast/nixtla.py with no dependency on the planning engine, so it is covered by unit tests. The statistical forecast solver skips the new parameter, and the app documentation describes both engines and their dependencies.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fork-internal PR to run CI before upstreaming to frePPLe/frepple.
Adds an opt-in
nixtlaengine (global LightGBM via the Nixtla mlforecast library) to the mlforecast app, selectable withforecast.MachineLearning_engine(defaultorbit, unchanged). Validated end-to-end on thedemo_ai_forecastingfixture; core unit-tested. Full upstream description inmlforecast-nixtla-PR.md.