Conformal Classification Sets (Split, Mondrian, Adaptive Prediction Sets, Venn-Abers)
Conformal classification sets turn a classifier's probabilities into sets of labels that contain the true class with a chosen probability, using held-out calibration scores and no distributional assumptions.
등각 분류 집합은 보정용 자료의 점수를 이용해 분류기의 확률을 정해진 확률로 참 범주를 포함하는 라벨 집합으로 바꾸는 방법으로, 분포 가정이 필요 없습니다.
My classifier outputs probabilities, but I need sets of possible labels that are guaranteed to contain the true class 90% of the time, ideally within every class; how can I do this?
분류 모형이 확률을 내는데, 참 범주를 90% 확률로 꼭 포함하는 후보 라벨 집합을 범주마다 보장받으려면 어떻게 해야 하나요?
Split the data into training, calibration and test parts, compute a nonconformity score on the calibration rows, and include in each new set every class whose score is below the finite-sample corrected quantile. Mondrian thresholds per class give coverage within each class, adaptive prediction sets adjust set size to difficulty, and Venn-Abers gives calibrated probability intervals for binary outcomes.
When to use Conformal Classification Sets (Split, Mondrian, Adaptive Prediction Sets, Venn-Abers)
- You need uncertainty statements for individual classifications with a guaranteed coverage rate.
- Some classes are rare and you want coverage to hold within each class, not only on average.
- You want calibrated probability intervals for a binary classifier without assuming a model form.
When to use something else
- New cases come from a shifted population or a time trend breaks exchangeability; use weighted or adaptive conformal methods.
- You only need a single best label and accuracy; report standard classification metrics instead.
Assumptions and requirements
- Calibration rows and new rows are exchangeable (no drift between them).
- Each class has enough calibration rows for its threshold at the chosen alpha.
- The model is fitted only on the training part.
What the analysis reports
- Prediction sets for test rows (preview) and set-size distribution
- Marginal and class-conditional coverage for split, Mondrian and adaptive sets
- Calibration thresholds per method and class
- Venn-Abers probability intervals with Brier and log-loss comparison (binary outcomes)
How to report it
Using Mondrian conformal prediction with a [model] (alpha = [value]; [value] calibration and [value] test rows), the prediction sets covered the true class in [value]% of test rows with a mean set size of [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.
독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Conformal Classification Sets (Split, Mondrian, Adaptive Prediction Sets, Venn-Abers) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.