docs: fix undefined variable and comment mismatch in time series forecast example - #1580
Merged
Li Jiang (thinkall) merged 4 commits intoAug 14, 2026
Conversation
Nefelibata (MeiSiristhebest)
force-pushed
the
fix/ts-forecast-doc-bugs
branch
from
August 2, 2026 10:31
e700003 to
91e08ab
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes two errors in the multivariate forecasting documentation example.
Changes:
- Corrects the deleted-column comment.
- Uses the defined multivariate training DataFrame.
Suppressed comments (1)
website/docs/Examples/AutoML-Time series forecast.md:534
- The multivariate split reserves 180 rows via
multi_time_horizon, but this still passes the earlier univariate example's 12-rowtime_horizon. This tunes/validates for the wrong forecast length and differs from the matching notebook example; passmulti_time_horizonhere.
automl.fit(dataframe=multi_train_df, **settings, period=time_horizon)
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Author
|
Updated |
Li Jiang (thinkall)
approved these changes
Aug 14, 2026
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.
Fixes #1173 and #1174 (part of #1570).
In
website/docs/Examples/AutoML-Time series forecast.md:NameErrorin multivariate forecasting example: updatedataframe=dftodataframe=multi_train_df(the DataFrame created in preceding steps).# remove temperature column to reduce redundancyto# remove month column to reduce redundancy.