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.

Forecaster interface: getting in-sample forecasts, getting residuals

See original GitHub issue

Is your feature request related to a problem? Please describe. I think there should be a method or property to obtain in-sample fitted value or residuals, which are important in many forecasting methods, such as forecast combination.

Describe the solution you’d like

Add a method or property to BaseForecaster and it should be implemented for every forecaster.

Additional context A traditional forecast combination method based on variance of in-sample residuals.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:36 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
fkiralycommented, Aug 19, 2021

I think so, yes.

1reaction
mloningcommented, Sep 7, 2021

I’d prefer keeping it simple and only provide a method for in-sample residuals, at least for now. Don’t have preference over compute_residuals or predict_residuals.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Forecasting with sktime
sktime provides a unified interface to make panel and hierarchical forecasts. All sktime forecasters can be applied to panel and hierarchical data, which...
Read more >
How to get in-sample forecast for ARIMA model in R? [closed]
There is a workaround: fitted values equal original values minus residuals. Residuals can be extracted from a fitted object using the method ...
Read more >
3.3 Residual diagnostics | Forecasting: Principles and ...
The residuals have zero mean. If the residuals have a mean other than zero, then the forecasts are biased. Any forecasting method that...
Read more >
Forecasting
Forecaster for a ForecastingModel using Hamiltonian Monte Carlo. On initialization, this will run NUTS sampler to get posterior samples of the model. After ......
Read more >
Using the "forecastHybrid" package
The "forecastHybrid" package provides functions to build composite models using multiple individual component models from the "forecast" ...
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