Cross-validation for linear discriminate analysis