Issue: Confusion with optimize_beta and Quantile Prediction in mapieTimeseries #583
Labels
Backlog
This is in the MAPIE team development backlog, yet to be prioritised.
TS regression
Related to time series regression
I am using the mapieTimeseries method from the MAPIE library for time series forecasting and I'm encountering a confusion regarding the use of alpha and optimize_beta when predicting specific quantiles (0.1 and 0.9) alongside the point forecast (0.5).
Goal:
I want to predict a point forecast (quantile 0.5) and predict the 0.1 and 0.9 quantiles for a given dataset.
I have set alpha=0.2 for 80% coverage.
Current Approach:
I use model.predict(optimize_beta=True) to make predictions.
However, I realized that setting optimize_beta=True means the model is adjusting the lower and upper bounds for 80% coverage, and not necessarily at the 0.1 and 0.9 quantiles.
Question:
Am I correct in understanding that when using optimize_beta=True, the model is optimizing the bounds to achieve 80% coverage (i.e., at the alpha=0.2 level), but it may not directly correspond to the 0.1 and 0.9 quantiles I want?
To predict specific quantiles like 0.1 and 0.9, should I set optimize_beta=False? In this case, I expect the model to predict exactly the 0.1 and 0.9 quantiles.
Observation:
My results appear quite similar when using both optimize_beta=True and optimize_beta=False, which is making me unsure about the correct approach.
The text was updated successfully, but these errors were encountered: