FaceRecognitionLib
Public Member Functions | Protected Attributes | List of all members
LDA Class Reference

#include <LDA.h>

Inheritance diagram for LDA:
Inheritance graph
[legend]

Public Member Functions

int32_t compute (const MatrixXf &X, const VectorXi &classes, int32_t numComponents)
 

Protected Attributes

MatrixXf U
 

Member Function Documentation

int32_t LDA::compute ( const MatrixXf &  X,
const VectorXi &  classes,
int32_t  numComponents 
)

Computes the Eigenvectors of X using LDA.

Parameters
XData matrix.
classesClass vector. Must start at 1 and increment by one.
numComponentsNumber of components used for the analysis.
Returns
Returns the number of components used.

Member Data Documentation

MatrixXf LDA::U
protected

The documentation for this class was generated from the following files: