question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] `historical_forecasts` with `retrain=False`

See original GitHub issue

In the docstring for the method historical_forecasts belonging to the class ForecastingModel it is mentioned that:

If retrain is set to False (useful for models for which training might be time-consuming, such as deep learning models), the model will only be trained on the initial training window (up to start time stamp), and only if it has not been trained before.

However I can not find the code that ensures the “and only if it has not been trained before” part.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pennfranccommented, Dec 8, 2021

Actually it seems that fit was not being called at all when retrain was set to False. I think #681 should fix it, feel free to take a look

0reactions
wassimzerouaticommented, Mar 9, 2022

Hello, I don’t see the PR change on any deployed version ; hence I still have the issue. (Doing the fix on my local works though)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Time Series Forecasting Using Past and Future External Data ...
Past covariates are time series whose past values are known at prediction time. Those series often contain values that have to be observed...
Read more >
How to use historical weather data to forecast the weather for ...
Constructing the historical summary request​​ We will be using Weather Data Services to construct the requests. If you are not familiar with ...
Read more >
Frequently Ask Questions - National Weather Service
Briefing are only issued for significant weather forecast events such as a ... Historical Reflectivity Mosaics - Reflectivity is available from 1995 to ......
Read more >
N-BEATS — darts documentation
N-BEATS is a state-of-the-art model that shows the potential of pure DL architectures in the context of the time-series forecasting.
Read more >
Weather History & Data Archive | Weather Underground
Find historical weather by searching for a city, zip code, or airport code. Include a date for which you would like to see...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found