Linear Discriminant Analysis Reference
Linear Discriminant Analysis Reference
Introduction:
Concept:
From the ‘Introduction’ section, we understand that LDA has 2 tasks:
1) Use a technique to separate the classes well so that misclassification error
is reduced
2) Also, do this separation using linear combination of the independent
variables
1
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
Data Description
Let’s consider data with 2 independent variables ‘BMI’ and ‘Glucose’ used
to predict whether a patient is ‘Diabetic’ or not.
vaibhaveee3@gmail.com
18XHT46RCY
2
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
Now let’s look at, how it tries to achieve the 2nd objective – linear combination
of the independent variables using the idea of objective 1:
vaibhaveee3@gmail.com
18XHT46RCY
*** PCA was the dimension reduction technique you have learnt earlier. We
will use the similar approach. However, objective of PCA was to find directions
of maximal variance, the objective of LDA is to maximize separability between
the classes thus helping in classification prediction.
3
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
β0, β1, β2… are called the coefficients: If the original data is standardized
(mean zero and standard deviation is 1), these are called as standardized
coefficients. The larger the standardized coefficient, larger is the respective
variable's unique contribution to the discrimination as specified by the
respective discriminant function (Note: This interpretation is reliable for
continuous predictors).
4
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
Applications:
Binary Classification:
o Classification or prediction of which disease a patient has, based on
the data collected regarding the symptoms.
o Classify a company’s credit worthiness based on its financial
performance.
5
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.
vaibhaveee3@gmail.com
18XHT46RCY
6
Proprietary content. ©Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited.