A unifying view for performance measures in multi-class prediction