Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit e30ffb1 Apr 11, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
copula_ordinal_regression Python3 compatibility Jun 15, 2016
demos rm: demo for cross validation (sklearn version is outdated) Apr 11, 2017
tests Made compatible with Python3. Jun 2, 2016
.gitignore fix: theano memory issue Jun 2, 2016
README.md upd: readme Apr 11, 2017
setup.py fix: add new test data Apr 10, 2017

README.md

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 (>= 0.18)

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 (multiple Facial Action Units in that case).


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]
You can’t perform that action at this time.