This is for classification tasks. We want to know how to best separate features.
Letβs say we have two features. Sample set: where, Class 1 and Class 2
Projection is
You need to find the value of that is best separate the two classes,
where within class : as close as possible, and between class: as far as possible.
In the space,
- Class mean:
within classscatter matrix:- Total
within classscatter matrix:
- Total
between classscatter matrix:
In the space,
- Class mean:
within classscatter matrix:- total
within classscatter matrix:
- total
between classscatter matrix: