generalised cross-validation