FaceRecognitionLib
|
#include <LDA.h>
Public Member Functions | |
int32_t | compute (const MatrixXf &X, const VectorXi &classes, int32_t numComponents) |
Protected Attributes | |
MatrixXf | U |
int32_t LDA::compute | ( | const MatrixXf & | X, |
const VectorXi & | classes, | ||
int32_t | numComponents | ||
) |
Computes the Eigenvectors of X using LDA.
X | Data matrix. |
classes | Class vector. Must start at 1 and increment by one. |
numComponents | Number of components used for the analysis. |
|
protected |