I am trying to compare models using K-Fold-CV using the regsubsets
function in R.
By default, it states that the ideal model is determined by the $RSS$.
I wished to change this parameter such that ideal model selection was performed on the basis of the $R^2$ value. However, I noticed that:
$R^2 = 1 - (RSS/TSS)$, and $TSS = \sum \big(y_i-\bar y\big)^2$. And therefore, is ideal model selection based on $RSS$ essentially equivalent to ideal model selection by $R^2$, given that the $TSS$ value is constant between test data-sets?