cross validation linear interpolation