RidgeCV
cv_values_
are for preprocessed data: centered and scaled by sample weights.
#13998
Labels
RidgeCV
cv_values_
are for preprocessed data: centered and scaled by sample weights.
#13998
when
store_cv_values=True
,RidgeCV
stores the leave-one-out squared errors,when
scoring=None
, or the leave-one-out predictions, whenscoring
isprovided by the user, in its
cv_values_
attribute.However, when
scoring
is notNone
, it stores the predictions for thepreprocessed data, i.e. rescaled by the square roots of the sample weights and
with the mean of
y
removed:I think that for a user, it would be easier to get directly the predictions in
the original space, and not need to do this post-processing of
cv_values_
.Should we rescale the cv values and add the intercept during
fit
?The text was updated successfully, but these errors were encountered: