What does target lags = [0] in Azure AutoML mean?

Hadjmbarek Nadia 45 Reputation points
2024-10-25T17:21:18.1+00:00

Hello,

I'm training a time-series forecasting model with AutoML, and I've set target_lags = "auto". After training, the output shows '``forecasting_target_lags': '[0]'. Could you clarify what this represents? Does the model effectively use only the most recent value to predict the upcoming forecast horizon?

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,998 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gowtham CP 5,215 Reputation points
    2024-10-25T17:49:01.4766667+00:00

    Hey Hadjmbarek Nadia ,

    Thanks for reaching out on Microsoft Q&A.

    Good question! So, you've got target_lags = [0] in your AutoML experiment. This means the model's only looking at the current value to predict the future. It's kind of like trying to predict tomorrow's weather based solely on today's conditions, without considering past weather patterns.

    If you want the model to learn from the past, you can either manually set specific lags (like [1, 2, 3] to look at the previous 1, 2, and 3 time steps) or let AutoML choose the best lags for you by setting target_lags = "auto".

    Hope this helps!

    If you found this answer helpful, please upvote and mark it as accepted to close the thread. Thanks!


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.