Data Science, Machine Learning, Algorithms, Predictive Modeling.
2 on the line is d and spread of each class is s1 and s2 respectively, LDA tries to find a line where the fraction (d)²/(s¹² +s²²) is maximum. Projection. Implementation in Python Code is straight-forward. LDA is performed on the iris dataset where 4 parameters are used to divide the data in 3