Multi-Label Classification (Binary Relevance and Classifier Chains)
In multi-label classification each row can carry several labels at once, such as several topics for one document or several diagnoses for one patient. Binary relevance trains one classifier per label independently; a classifier chain trains the labels in sequence and lets each use the earlier labels as extra inputs, so dependence between labels can be used.
다중 이름표 분류에서는 한 행이 여러 이름표를 동시에 가질 수 있습니다(한 문서의 여러 주제, 한 환자의 여러 진단 등). 이진 관련 방식은 이름표마다 분류기를 따로 학습하고, 분류기 사슬은 이름표를 차례로 학습하면서 앞선 이름표를 추가 입력으로 써서 이름표 사이의 관련을 활용합니다.
Can I predict which of several yes/no labels apply to each row, and does using the links between labels help?
여러 예/아니오 이름표 가운데 각 행에 어떤 것이 해당하는지 예측할 수 있고, 이름표 사이의 관련을 쓰면 도움이 됩니까?
The method compares binary relevance with classifier chains on held-out rows by Hamming loss, exact-match accuracy, micro and macro F1 and the Jaccard index, and gives F1 and AUC for each label.
When to use Multi-Label Classification (Binary Relevance and Classifier Chains)
- Each row has several 0/1 labels that can be true at the same time.
- Labels are likely related (some tend to occur together).
When to use something else
- Exactly one class per row: use Multinomial Logistic Regression
- A single yes/no outcome: use Binary Logistic Regression
Assumptions and requirements
- Labels are coded 0/1 in separate columns
- Each label has both values in the training rows
- Rows are independent
What the analysis reports
- Hamming loss and subset accuracy
- Micro and macro F1 and Jaccard index
- Per-label F1 and AUC
- Label cardinality and density
How to report it
On [value] held-out rows with [value] labels, binary relevance gave Hamming loss [value] and subset accuracy [value]; a classifier chain gave [value] and [value].
Related methods
- Binary Logistic Regression
- Random Forest
- Classification Performance Report
- Multinomial Logistic Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 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 Multi-Label Classification (Binary Relevance and Classifier Chains) on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items) 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.