precisionとrecall
Intuitively, precision is the ability of the classifier not to label as positive a sample that is negative, and recall is the ability of the classifier to find all the positive samples.
precisionは、分類器が負例を正例とラベル付けしない能力
recallは、分類器が全ての正例を見つけ出す能力
precisionは推論ラベルが正例のサンプルに興味がある
正例という推論がどれだけ正しいか(=正解ラベル 負例が混ざってほしくない)
recallは正解ラベルが正例のサンプルに興味がある
正例が正解のサンプルをどれだけ見つけ出せているか(=見逃しがあってほしくない)
https://gyazo.com/389e27e4ad83a19ffd5c62503c8eef5a
TNの個数は影響しない