07.AI
데이터 분류 모델 - 혼동행렬
Mr. Slumber
2024. 5. 14. 00:24
728x90
반응형
혼동행렬(Confusion Matrix)
Precision, Recall, Accuracy
정확률: tp/tp+fp 재현율: tp/(tp+fn)
[검증] 혼동행렬 정확률, 재현율
추론결과(positive,negative),실제결과/분류(true,false)
1)참참:tp (true positive)
2)참거짓:fp (false positive)
3)거짓참:fn (false negative)
4)거짓거짓:tn (true negative)
[계산]
1)Precision : 예측정확도, 선택한 것 중에 Hit 율
tp /(tp + fp)
2)Recall : 전체 중에 Hit 율
tp /(tp + fn)
3)Accuracy : 전체 중에 실제 정답과 같은 판단 비율
(tp + tn)/(tp + fp + fn + tn)














http://bcho.tistory.com/1206
분류모델 (Classification)의 성능 평가
Classification & Clustering 모델 평가 조대협 (http://bcho.tistory.com) 클러스터링과 분류 모델에 대한 성능 평가 방법은 데이타에 라벨이 있는가 없는가에 따라서 방법이 나뉘어 진다. 사실 클러스터링은
bcho.tistory.com
728x90