Readme for perceptron learner
Filip Radlinski, filip at cs.cornell.edu

Usage:
------

perceptron_learn <document_file> <model_file> <iterations>

perceptron_learn uses the same document format as svm_light. It runs a batch perceptron algorithm
for <iterations> iterations and writes the learned model. The model is compatible with svm_light.
To then classify test data, you use svm_classify in the usual form:

svm_classify <document_file> <model_file> <output_file>

svm_classify is available with the svm_light package.
svm_light can be found at http://svmlight.joachims.org/

Compiling:
---------

Binary versions are available, although it can also be compiled from source. The makefile included
can be used to compile on most *nix systems running the command:

make

This will create the binary perceptron_learn.

Alternatively, it can be compiled as follow with your favorite C compiler:

gcc -c svm_io.c
gcc -c perceptron_learn.c
gcc -o perceptron_learn -lm perceptron_learn.o svm_io.o

