On pg. 130 of "An Introduction to Statistical Learning with Applications in R" by Hastie et al. [http://www-bcf.usc.edu/~gareth/ISL] they are talking about using linear regression for predicting a binary response and say:
"Curiously, it turns out that the classifications that we get if we use linear regression to predict a binary response will be the same as for the linear discriminant analysis (LDA) procedure we discuss in Section 4.4."
Can you please show me how these 2 methods turn out to produce the same classification?