Giter Site home page Giter Site logo

copula_ordinal_regression's Introduction

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]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.