Perf calculates a variety of performance metrics suitable for boolean classification problems.