I am trying to make sense of the values stored in Scikit-Learn's RidgeCV's cv.values_ object when scoring is set to the r2_score metric.
Per the documentation for Scikit-Learn's RidgeCV function, when store_cv_values=True:
Cross-validation values for each alpha (only available if store_cv_values=True and cv=None). After fit() has been called, this attribute will contain the mean squared errors (by default) or the values of the {loss,score}_func function (if provided in the constructor).
Though I'm somewhat unclear as to the specifics of how RidgeCV's native generalized cross-validation works, if it is indeed an approximation of leave-one-out-cross validation, then what the cv_values object seems to represent is the 'r2_score' for individual (left-out) samples... Except that r2_score does not work for individual samples. What then is returned in the cv_values object when scoring is set to r2_score?
