Project details for LIBOCAS

Logo LIBOCAS 0.93

by vf - June 20, 2010, 12:22:05 CET [ Project Homepage BibTeX BibTeX for corresponding Paper Download ]

view ( today), download ( today ), 2 comments, 0 subscriptions


The library implements Optimized Cutting Plane Algorithm (OCAS) for efficient training of linear SVM classifiers from large-scale data.

The computational effort of OCAS scales linearly with the sample size. In an extensive empirical evaluation OCAS significantly outperforms current state of the art SVM solvers, like SVM^light, SVM^perf and BMRM, achieving speedups of over 1,000 on some datasets over SVM^light and 20 over SVM^perf, while obtaining the same precise Support Vector solution. OCAS even in the early optimization steps shows often faster convergence than the so far in this domain prevailing approximative methods SGD and Pegasos. Effectively parallelizing OCAS we were able to train on a dataset of size 15 million examples (itself about 32GB in size) in just 671 seconds --- a competing string kernel SVM required 97,484 seconds to train on 10 million examples sub-sampled from this dataset.

New: The library also implements COFFIN framework for efficient training of translation invariant image classifiers from virtual examples. As an example, we used the implemented framework to train a linear SVM on a gender classification dataset of almost 5 million images on a plain notebook with just 4GB of memory.


  • SVM solvers for training linear classifiers from large scale-data
  • Binary (two-class) and genuine multi-class SVM formulations.
  • Optimized code written in C.
  • A stand alone application and MEX interface for Matlab.
  • Reads examples from SVM^light format.
  • Optimized for both sparse and dense features.
  • Parallelized version of the binary solver.
  • Tools for classification.
  • Training translation invariant image classifiers from virtual examples.
  • Functions for computing image features based on Local Binary Patterns (LBP)
Changes to previous version:

Implemented COFFIN framework which allows efficient training of invariant image classifiers via virtual examples.

BibTeX Entry: Download
Corresponding Paper BibTeX Entry: Download
Supported Operating Systems: Linux
Data Formats: None
Tags: Classification, Support Vector Machines, Large Scale Learning
Archive: download here


Isis (on May 22, 2009, 16:12:49)
Hi, I attempted to install the libocas 0.9 on ubuntu, but something is wrong. When I click on the svmocas or on the msvmocas nothing happens! Isis
V.Franc (on June 26, 2009, 12:54:23)
I'm developing and running libocas under Ubuntu as well. More precisely in Ubuntu 8.04 (hardy) with 2.6.24-19-386 kernel. I don't have to say that every works fine for me. If you run ./svmocas or ./msvmocas without arguments it should print help. VF

Leave a comment

You must be logged in to post comments.