Automatic selection of a linear predictor through frequency domain cross-validation