Perform LDA to reduce number of dimension of the given data
The code contain two class: Matrix & LDA
- Initlization of the matrix
- Print out the matrix
- Transpose a matrix
- Inverse a matrix
- Compute eigenvalues and eigenvectors (with Eigen library)
- Calculate determinant of the matrix
- concat two matrices
- matrix multiplcation
- Addition and subtraction of two matrices
- Compute mean vector
- Compute within class scatter matrix
- Compute between class scatter matrix
- Find basis vectors
- Get final LDA result