혼동 행렬 계산기
수학 계산기정확도·정밀도·재현율·F1 등 8가지 지표
빠른 답변 보기
Confusion Matrix Calculator: Accuracy/precision/recall/F1 · 8 metrics. Confusion Matrix Calculator uses standard math formulas to compute accurate results instantly.
정확도 Accuracy98.0%
정밀도 Precision94.4%
재현율 / 민감도85.0%
F1 점수89.5%
특이도 Specificity99.4%
위양성률 FPR0.6%
음성 예측값 NPV98.4%
총 표본 수1000
이 지표들은 어떻게 계산된 건가요
- 1행 = 예측 클래스, 열 = 실제 클래스. TP/TN은 정확히 판별한 부분; FP (제1종 오류)와 FN (제2종 오류)은 두 종류의 오류입니다.
- 2Accuracy = (TP+TN)/total = (85+895)/1000 = 98.0%.
- 3Precision = TP/(TP+FP)(predicted positive correctness)= 94.4%; Recall = TP/(TP+FN)(actual positives found)= 85.0%.
- 4F1 = 2·P·R/(P+R) — harmonic mean punishes imbalance; here F1 = 89.5%.
- 카테고리 불균형 함정: 양성 예시가 1%일 때 '항상 음성 클래스 예측' 모델의 정확도는 99%에 달하지만 재현율은 0 — 반드시 정밀도와 재현율을 동시에 확인
- 정밀도와 재현율은 상충 관계: 판정 임계값을 높이면 정밀도가 상승하고 재현율이 하락; F1은 균형을 맞추고 Fβ(β>1)는 재현율을 더 중시
- 감도 = 재현율(TPR); 특이도 = 진음성률(TNR). 의학 선별 검사는 높은 감도(누락 진단 적음)를 추구하고, 확진 검사는 높은 정밀도(오진 적음)를 추구합니다.
- 혼동 행렬은 2×2 이상: 다중 분류는 N×N으로, 클래스별 정밀도/재현율을 계산한 후 매크로 평균 또는 가중 평균을 취합니다.
이 도구가 도움이 되셨나요?
사용 방법
- Enter values or expressions: type directly into the Confusion Matrix Calculator — keyboard friendly.
- Instant results: everything computes live as you type, no button needed.
- Follow the steps: the result panel shows full working and formula substitution.
- Copy or recompute: one-click copy; change any input to recalculate instantly.
핵심 요점
- Confusion Matrix Calculator is a free online math tool — open and use, no sign-up.
- All calculations run locally in your browser; your data never leaves the device.
- Key capability: Accuracy/precision/recall/F1 · 8 metrics.
- Results come with formulas and reference tables so you can verify every number.
원리 및 공식
Confusion Matrix Calculator formula
Confusion Matrix Calculator uses standard math formulas to compute accurate results instantly.
자주 묻는 질문
How do I use the Confusion Matrix Calculator?
Open the page and fill in the input fields — results update automatically. Accuracy/precision/recall/F1 · 8 metrics.
Are the results accurate?
Yes. All calculations use standard mathematical formulas and are verified for accuracy.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required — just open and use.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. All calculations run locally in your browser. Nothing is uploaded or stored.
관련 도구
관련 가이드
출처 및 업데이트
Standard mathematical formulas. All logic verified. Last updated: 2025-07
최근 업데이트:
이 페이지의 공식과 내용은 YiJianSuan 팀이 재검토했으며, 학습 참고용으로만 제공됩니다. 실제 업무는 공식 발표 내용을 기준으로 하십시오.
내용은 YiJianSuan 편집 팀이 유지 관리하고 정기적으로 재검토하며, 업데이트 및 심사 절차는 다음에서 확인하십시오편집 정책.
이 페이지 인용: YiJianSuan. 혼동 행렬 계산기[EB/OL]. https://www.yijiansuan.com/ko/c/math/confusion-matrix
이 도구가 제공하는 결과는 참고용일 뿐 어떠한 전문적 조언도 구성하지 않으며, 공식 계산 결과를 기준으로 하십시오.