Skip to content

aceveggie/Linear-Discriminant-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Linear-Discriminant-Analysis

A small C++ library to perform 2 class Linear Discriminant Analysis using Eigen Library for OpenCV.

Linear Discriminant Analysis is a statistical techinque which is used in Dimensionality Reduction and also for classification of data.

This was inspired by Stephen Marshland's "Machine Learning: An Algorithmic Perspective" implementation in Python(this is re-implementation of the same in C++).

In order to build it, follow the instructions on this page http://www.developerstation.org/2012/05/linear-discriminant-analysis-using.html or follow the following steps (for ubuntu):

  1. git clone or download the above project
  2. cd into the project
  3. $sudo apt-get install libeigen3-dev
  4. $mkdir build
  5. $cd build
  6. $cmake ..
  7. make
  8. ./LDA
THINGS TO DO:
  1. Add CvStatModel. i.e. inherit from CvStatModel class for more tighter integration in OpenCV.

NOTE: This code is in Beta and may be buggy. Its currently under development.

About

A C++ library to perform Linear Discriminant Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages