← Back to Classic ML Mind Map
⚡Flashcard Drill➔
📊 Classic MLID: probability-calibration

Probability Calibration

概率校准
🎯Core Definition
Probability calibration turns model scores into true interpretable probabilities. Platt scaling fits a logistic regression on the raw score: P(y=1∣x)=11+exp⁡(Af(x)+B)P(y=1|x) = \frac{1}{1+\exp(Af(x)+B)}, with parameters AA and BB estimated by maximum likelihood on a separate validation set — suitable for models whose scores are monotonically but sigmoidally distorted (SVM, GBDT). Isotonic regression fits a non-parametric monotone mapping on the validation set; it is more flexible but needs more data and overfits more easily. Evaluation tools: the Brier score BS=1N∑i=1N(pi−yi)2BS = \frac{1}{N}\sum_{i=1}^{N}(p_i - y_i)^2 (lower is better) and reliability diagrams (bucket predictions by probability and compare average prediction with actual frequency).
💡Use Cases
decisions that depend on the probability value itself (credit thresholds, risk scorecards, medical diagnosis), merging probabilities from multiple models, cost-sensitive decisions; interviews ask about “calibration vs AUC”, “Platt vs Isotonic”, and “why logistic regression is naturally calibrated”.
⚡Key Problems Solved
AUC only measures ranking ability, not the numerical correctness of probabilities — a model can say 0.9 while only 60% of such cases are positive; Platt/Isotonic map scores to decision-ready probabilities. Key property: calibration is a monotonic (rank-preserving) transform, so it does not change AUC — good calibration and good discrimination are orthogonal and must be evaluated separately.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Probability Calibration.
Use Cases
In production engineering, what are the primary use cases for Probability Calibration and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Write Platt's formula P(y=1∣x)=11+exp⁡(Af(x)+B)P(y=1|x) = \frac{1}{1+\exp(Af(x)+B)} and explain how A and B are fit. Is it the same thing as logistic regression?
2
Compare Platt vs Isotonic: assumptions, data requirements, overfitting risk, and which models each suits?
3
Write the Brier score BS=1N∑(pi−yi)2BS = \frac{1}{N}\sum (p_i - y_i)^2; give examples of “good discrimination, bad calibration” and the reverse?
4
Why does calibration leave AUC unchanged? How does a rank-preserving monotone transform preserve AUC?
5
How to read a reliability diagram? Why is logistic regression naturally calibrated while SVM/GBDT need calibration?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "Probability Calibration"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardMRR & GAUCNext Card →K-Fold Cross-Validation

🔗 More Classic ML Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/ML/card/probability-calibration