[2408.04607] Risk and cross validation in ridge regression with correlated samples