LDA classifier for Iris dataset
Coding steps:
- Load Iris dataset from sklearn
- Use multiple linear regression to predict the class
- Find the mean of y_hat values of every class
- Find the covariance of every two classes
- Make LDA prediction
- Calculate the accuracy and error