Download a dataset at http://www.idiap.ch/~marcel/Databases/frontalfaces/main.html

> tar -zxvf datafaced.tar.gz 
> mkdir models
> mkdir measures
> trainMLP -imagenorm -mse -save models/face_mse.mlp -dir ./measures -one_file ./datafaced/face_train.bindata -one_file ./datafaced/nonface_train.bindata 361
> cat measures/classerror.measure 
> testMLP -o facetrain models/face_mse.mlp -one_file ./datafaced/face_train.bindata 361 -imagenorm
> testMLP -o facetest models/face_mse.mlp -one_file ./datafaced/face_test.bindata 361 -imagenorm
> testMLP -o nonfacetrain models/face_mse.mlp -one_file ./datafaced/nonface_train.bindata 361 -imagenorm
> testMLP -o nonfacetest models/face_mse.mlp -one_file ./datafaced/nonface_test.bindata 361 -imagenorm

> gnuplot
gnuplot> set data style lines
gnuplot> plot 'facetrain.histo' with lines, 'nonfacetrain.histo' with lines, 'facetest.histo' with lines, 'nonfacetest.histo' with lines

> rm *.histo
> rm *.output
> rm measures/*