write out pr and roc curves