JoaquinAmatRodrigo / skforecast

Time series forecasting with machine learning models
https://skforecast.org
BSD 3-Clause "New" or "Revised" License
1.09k stars 125 forks source link

Fitted Values #655

Closed saumya-verma-DS closed 4 months ago

saumya-verma-DS commented 6 months ago

After using the forecastr on train data, I want to check what my fitted values were to get rmse's. How can I check that.

JavierEscobarOrtiz commented 6 months ago

Hello @saumya-verma-DS

If you are using a ForecasterSarimax you can check:

https://skforecast.org/latest/user_guides/forecasting-sarimax-arima#prediction-on-training-data-in-sample-predictions

For the rest of the forecasters use:

https://skforecast.org/latest/user_guides/autoregresive-forecaster#prediction-on-training-data

Hope it helps!

saumya-verma-DS commented 6 months ago

Actually I have used ForecasterAutoReg with Random forest regressor

On Mon, 11 Mar, 2024, 13:46 Javier Escobar Ortiz, @.***> wrote:

Hello @saumya-verma-DS https://github.com/saumya-verma-DS

If you are using a ForecasterSarimax you can check:

https://skforecast.org/latest/user_guides/forecasting-sarimax-arima#prediction-on-training-data-in-sample-predictions

For the rest of the forecasters use:

https://skforecast.org/latest/user_guides/autoregresive-forecaster#prediction-on-training-data

Hope it helps!

— Reply to this email directly, view it on GitHub https://github.com/JoaquinAmatRodrigo/skforecast/issues/655#issuecomment-1987844053, or unsubscribe https://github.com/notifications/unsubscribe-auth/BFVDQLQF4PW5VFMQUMKLOEDYXVR6BAVCNFSM6AAAAABEPYAOWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBXHA2DIMBVGM . You are receiving this because you were mentioned.Message ID: @.***>