reiinakano/scikit-plot

Add numerical digit precision parameter

Open

#102 建立於 2019年5月31日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (2,352 star) (282 fork)batch import
enhancementhelp wanted

描述

Hi there,

I was wondering if there is a way of defining the digit numerical precision of values such as roc_auc.

To see what I mean, let me point you to sklearn API such as for Classification Report, where the parameter digits defines to what precision the values are presented.

This is specially important, for example, when one is training classifiers that are already in the top, say, +99.5% of accuracy/precision/recall/auc and we want to study differences amongst classifiers that are competing at the 0.1% level.

Namely I noticed that digit precision is not consistent throughout scikit-plot, where roc_auc is presenting three digit precision, whil precision_recall is presenting four digit precision.

As you can imagine, for scientific publication purposes it's a bit inelegant to present bound metrics with different precision.

Thanks!

貢獻者指南