[BUG] Can't access underlying models in multi-quantile regression #2596
Labels
bug
Something isn't working
feature request
Use this label to request a new feature
good first issue
Good for newcomers
Describe the bug
I'm using a multi-quantile forecaster on multivariate target data. E.g, a
CatBoostModel(likelihood='quantile', quantile=[0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99], ...)
.Darts fits a separate GBT model for each quantile level and each target component. However, these aren't accessible to me.
Suppose my target series has two components and my
CatBoostModel
is calledmodel
. Thenmodel.model.estimators_
returns only 2 models (corresponding to quantile 0.99 for each component).This means that
model.get_multioutput_estimator
andmodel.get_estimator
are incapable of returning estimators for any quantile other than 0.99.Trying to access the models using
model.model
ormodel._model_container
ormodel._model_container[0.5]
all give a similar error:To Reproduce
Expected behavior
Ability to access all the underlying estimators.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: