"TP, FP, TN, FN 총정리"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 23개는 보이지 않습니다)
14번째 줄: 14번째 줄:
| TN [[참 음성]]
| TN [[참 음성]]
|}
|}
[[File:Binary-classification-labeled.svg|300px]]


----
----
{| class='wikitable'
{| class='wikitable'
! 공통 !! 정보검색 !! 의학 !! 수식 !! 수식2
! 공통 !! 정보검색 !! 통계학<ref>의학, 사회과학(심리학, 교육학)</ref> !! 수식 !! 수식2
|-
|-
| [[참 양성 비율(TPR)]]
| [[참 양성 비율(TPR)]]
| [[재현율(recall)]] || [[민감도(sensitivity)]]<ref>질병이 있는 사람을 얼마나 잘 찾아내는가?</ref>
| [[재현율(recall)]] || [[민감도(sensitivity)]]<ref>질병이 있는 사람을 얼마나 잘 찾아내는가?</ref>
| <math>\dfrac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FN}}</math> || 참 양성 / 실제 양성
|align='center'| <math>\dfrac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FN}}</math> || 참 양성 / 실제 양성
|-
|-
| [[참 음성 비율(TNR)]]
| [[참 음성 비율(TNR)]]
| · || [[특이도(specificity)]]<ref>질병이 없는 사람을 얼마나 잘 찾아내는가?</ref>
| · || [[특이도(specificity)]]<ref>질병이 없는 사람을 얼마나 잘 찾아내는가?</ref>
| <math>\dfrac{\mathrm{TN}}{\mathrm{TN}+\mathrm{FP}}</math> || 참 음성 / 실제 음성
|align='center'| <math>\dfrac{\mathrm{TN}}{\mathrm{TN}+\mathrm{FP}}</math> || 참 음성 / 실제 음성
|-
| [[거짓 음성 비율(FNR)]]
| · || 1-민감도
|align='center'| <math>\dfrac{\mathrm{FN}}{\mathrm{FN}+\mathrm{TP}}</math> || 거짓 음성 / 실제 양성
|-
| [[거짓 양성 비율(FPR)]]
| · || 1-특이도
|align='center'| <math>\dfrac{\mathrm{FP}}{\mathrm{FP}+\mathrm{TN}}</math> || 거짓 양성 / 실제 음성
|-
|-
| [[양성 예측 값]]
| [[양성 예측 값(PPV)]]
| [[정밀도(precision)]] || ·  
| [[정밀도(precision)]] || ·  
| <math>\dfrac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FP}}</math> || 참 양성 / 예측 양성
|align='center'| <math>\dfrac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FP}}</math> || 참 양성 / 예측 양성
|-
| [[음성 예측 값(NPV)]]
| · || ·
|align='center'| <math>\dfrac{\mathrm{TN}}{\mathrm{TN}+\mathrm{FN}}</math> || 참 음성 / 예측 음성
|-
| [[정분류율]](ACC) ★
| · || ·
|align='center'| <math>\dfrac{\mathrm{TP}+\mathrm{TN}}{\mathrm{TP}+\mathrm{TN}+\mathrm{FP}+\mathrm{FN}}</math> ||
|-
|-
| [[음성 예측 값]]
| [[균형 정확도]](BA)
| · || ·
| · || ·
| <math>\dfrac{\mathrm{TN}}{\mathrm{TN}+\mathrm{FN}}</math> || 참 음성 / 예측 음성
|align='center'| <math>\dfrac{\mathrm{TPR}+\mathrm{TNR}}{2}</math> ||
|-
|-
| ·
| ·
| [[F1 점수]] || ·
| [[F1 점수]] || ·
| <math>2·\dfrac{\mathrm{precision} \cdot \mathrm{recall}}{ \mathrm{precision} + \mathrm{recall}}</math> || ·
|align='center'| <math>2·\dfrac{\mathrm{TPR} \cdot \mathrm{PPV}}{ \mathrm{TPR} + \mathrm{PPV}}</math> || ·
|}
|}


44번째 줄: 62번째 줄:
* [[컨퓨전 행렬]]
* [[컨퓨전 행렬]]
* [[1종 오류, 2종 오류]]
* [[1종 오류, 2종 오류]]
* [[혼동행렬 사분면 기억법]] ★


==참고==
==참고==
49번째 줄: 68번째 줄:


[[분류: 정보 검색]]
[[분류: 정보 검색]]
[[분류: 통계]]
[[분류: 총정리]]

2022년 11월 3일 (목) 19:57 기준 최신판

1 개요[ | ]

TP, FP, TN, FN 총정리
구분 P 실제 양성 N 실제 음성
예측 양성 TP 참 양성 FP 거짓 양성 (1종 오류)
예측 음성 FN 거짓 음성 (2종 오류) TN 참 음성

Binary-classification-labeled.svg


공통 정보검색 통계학[1] 수식 수식2
참 양성 비율(TPR) 재현율(recall) 민감도(sensitivity)[2] [math]\displaystyle{ \dfrac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FN}} }[/math] 참 양성 / 실제 양성
참 음성 비율(TNR) · 특이도(specificity)[3] [math]\displaystyle{ \dfrac{\mathrm{TN}}{\mathrm{TN}+\mathrm{FP}} }[/math] 참 음성 / 실제 음성
거짓 음성 비율(FNR) · 1-민감도 [math]\displaystyle{ \dfrac{\mathrm{FN}}{\mathrm{FN}+\mathrm{TP}} }[/math] 거짓 음성 / 실제 양성
거짓 양성 비율(FPR) · 1-특이도 [math]\displaystyle{ \dfrac{\mathrm{FP}}{\mathrm{FP}+\mathrm{TN}} }[/math] 거짓 양성 / 실제 음성
양성 예측 값(PPV) 정밀도(precision) · [math]\displaystyle{ \dfrac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FP}} }[/math] 참 양성 / 예측 양성
음성 예측 값(NPV) · · [math]\displaystyle{ \dfrac{\mathrm{TN}}{\mathrm{TN}+\mathrm{FN}} }[/math] 참 음성 / 예측 음성
정분류율(ACC) ★ · · [math]\displaystyle{ \dfrac{\mathrm{TP}+\mathrm{TN}}{\mathrm{TP}+\mathrm{TN}+\mathrm{FP}+\mathrm{FN}} }[/math]
균형 정확도(BA) · · [math]\displaystyle{ \dfrac{\mathrm{TPR}+\mathrm{TNR}}{2} }[/math]
· F1 점수 · [math]\displaystyle{ 2·\dfrac{\mathrm{TPR} \cdot \mathrm{PPV}}{ \mathrm{TPR} + \mathrm{PPV}} }[/math] ·

2 같이 보기[ | ]

3 참고[ | ]

  1. 의학, 사회과학(심리학, 교육학)
  2. 질병이 있는 사람을 얼마나 잘 찾아내는가?
  3. 질병이 없는 사람을 얼마나 잘 찾아내는가?
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}