Terms and Conditions

The code below is given under the GNU Lesser General Public License. Use on your own risk !
The code was developed on cygwin using g++ version 3.4.4. Most of the code was also tested on Linux using g++ version 4.0.3
I've switched to Mac so newer code was developed on OS X using g++ version 4.0.1.

GECO -- Large-Scale Convex Minimization with a Low-Rank Constraint

Pegasos -- Solving SVM

Deepak Nayak wrote a java interface (I didn't check the code myself).

Learning Tools

The following libraries are extensively used in my code. I usually assume that the following libraries are within a directory under the name learning_tools.

Label Ranking

Online Multiclass Prediction


  • pdfjoin This small shell script merges (join) the pages of different pdf files into a single pdf file. The script requires pdflatex installed. It was written by Ambuj Tewari. There's a much more sophisticated set of scripts (look for PDFjam in your favorite search engine).