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)

 

 

 

 

 

 

 

 

 

 

 

 

728x90
Posted by Mr. Slumber
,