Open gmartinonQM opened 10 months ago
Hi @gmartinonQM, thank you for this information.
If you want replicable results for the moment, I would suggest using the random_state
in the .fit
method. However, this is indeed something we should change to have it in the .__init__()
of the method.
Thank you!
I am trying to get reproducible results with MapieQuantileRegressor with the "split" method. Unfortunately :
TypeError: MapieQuantileRegressor.__init__() got an unexpected keyword argument 'random_state'
Whereas the attribute
random_state
is indeed used in the code of MapieQuantileRegressor, but always with the default valueNone
. (https://github.com/scikit-learn-contrib/MAPIE/blob/2681b82dddbbdc59c3c30abd1de4e3d9a8f00935/mapie/regression/quantile_regression.py#L391)Could you please add the
random_state
in the constructor of MapieQuantileRegressor ?