Skip to content

JeanKossaifi/copula_ordinal_regression

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copula Ordinal Regression

Copula Ordinal Regression is a statistical lerning method in which the goal is to predict a set of discrete ordinal variables. For example, predicting the intensity of different facial action units on a scale from 0 to 5 can be considered an mutli-output ordinal regression task. This is a generalization of the multi-label classification task, where the set of classification problem is restricted to binary classification, and of the multi-class classification task.

Install instructions:

requires:

  • Python (>= 2.6 or >= 3.3),
  • Numpy
  • Scipy
  • Theano (>= 0.7)
  • PyStruct (>= 0.2.4)
  • scikit-learn

First, get the code from Github:

git clone https://github.com/RWalecki/copula_ordinal_regression.git

Next, go into the directory where the clone was placed and run the installation script:

cd copula_ordinal_regression
python setup.py install
Test the installation:

Once you have installed copula_ordinal_regression, you should run the nosetests before using it. Therefore, run:

nosetests .

The tests should not take longer than a few seconds. You are ready to use copula_ordinal_regression. Enjoy!

Quick-Start:

You should read through the scripts that are located in the demo folder to understand how the models are applied. The files are heavily commented and are basically a small tutorial. 'copula_classification.py' contains an example of how to train the model and use it to predict structured outputs (Action Units). The file 'copula_cross_validation.py' contains an example of an exhaustive parameter grid search using cross validation.


License and Citations

Copula Ordinal Regression is free of charge for research purposes only. If you use is, please cite:

  • "Copula Ordinal Regression for Joint Estimation of Facial Action Unit Intensity", R. Walecki, O. Rudovic, V. Pavlovic, M. Pantic. Proceedings of IEEE International Conference on Computer Vision and Pattern Recognition (CVPR 2016). Las Vegas, Nevada, June 2016. [pdf]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%