PerfMeas: Performance Measures for ranking and classification