Standardize printout of performance numbers to %.4f.
Add support for separate test/train data.