Why does the description for target_lags, but only allow int ? I would love to pass multiple lags
This is represented as a list or single integer
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Aniththa The documentation for target_lagsindicates it is of type int but it looks like it should be list(int) according to the description of the field. Could you please review and correct the same?
There's a few other forecasting params that should also be list(int) I believe. Plus the UI doesn't even let you enter a list and tells you it must be an integer. @nibaccam
You are both correct, we have work items opened now to update the documentation to say that target_lags accept a list as well as an integer. As of today UI only supports the single integer as it's directed towards a different user persona. Would be happy to sync and understand if this is not meeting yours or other UI customers needs.
Could you point out the other forecasting params that should be list but aren't documented correctly?
Well now I'm just not sure... maybe it is more about clarifying fixing some mislabeled things.
lag_length?in the function def at the top of AutoMLConfig, there's mention of lag_length: int = 0, but I assume that its been renamed to target_lags, right?
Can I add multiple lags to lag_length? In the blog post , it mentions how passing lag_length=2 creates a 1-day lag and a 2-day lag? So is lag_length
The table below illustrates how a lag length of two would be treated. Green columns are engineered features with lags of sales by one day and two day. The blue arrows indicate how each of the lags are generated by the training data. Not a number (Nan) are created when sample data does not exist for that lag period.
target_rolling_window_sizeCan I create multiple lags? like I can with target_lags?
re: update of target_lags parameter in AutoMLConfig class: this is included in a PR in progress for updating docs.
Lag_length is an outdated parameter before target_lags were introduced. We will be removing this parameter from our documentation. Though the blog (due to the nature of blogs) will remain as is.
Target_lags does accept a list of integers and those are the doc updates we have created work items for and will address.
Updated docs for target_lags. Changes will appear in next release.
Thank you for reporting this @swanderz . The docs update has been checked in. We will now proceed to close this thread. #please-close