User Guide#
- 1. Foundations
- 2. Aggregative Quantification
- 2.1. Using Aggregative Quantification Methods
- 2.2. General Concept
- 2.3. Counting Methods
- 2.4. Adjusted Counting
- 2.4.1. Problem formulation
- 2.4.2. The Adjustment Formula
- 2.4.3. ACC — Adjusted Classify and Count (hard predictions)
- 2.4.4. ThresholdAdjustment — Base Class for ROC-Threshold Methods
- 2.4.5. TAC — Threshold Adjusted Count (fixed threshold)
- 2.4.6. TX — Threshold X (symmetric ROC point)
- 2.4.7. TMAX — Maximum TPR−FPR Separation
- 2.4.8. T50 — TPR ≈ 0.5 Threshold
- 2.4.9. MS — Median Sweep
- 2.4.10. MS2 — Median Sweep with Constraint
- 2.4.11. Comparing Threshold-Adjustment Methods
- 2.4.12. Assumptions and when to use
- 2.4.13. References
- 2.5. Likelihood Methods
- 2.6. Distribution Matching
- 2.7. Nearest Neighbours
- 3. Non Aggregative Quantification
- 4. Meta Quantification
- 5. Model Selection and Evaluation
- 5.1. Evaluation Protocols
- 5.2. Hyperparameter Tuning
- 5.3. Evaluation Metrics
- 5.4. Single Label Quantification (SLQ) Metrics
- 5.4.1. AE (Absolute Error)
- 5.4.2. SE (Squared Error)
- 5.4.3. MAE (Mean Absolute Error)
- 5.4.4. MSE (Mean Squared Error)
- 5.4.5. KLD (Kullback-Leibler Divergence)
- 5.4.6. RAE (Relative Absolute Error)
- 5.4.7. NAE (Normalized Absolute Error)
- 5.4.8. NRAE (Normalized Relative Absolute Error)
- 5.4.9. NKLD (Normalized Kullback-Leibler Divergence)
- 5.5. Regression-Based Quantification (RQ) Metrics
- 5.6. Ordinal Quantification (OQ) Metrics
- 6. Synthetic Datasets
- 7. Real-World Datasets
- 8. Confidence Intervals
- 9. Calibration
- 10. Visualization
- 11. Building a Quantifier
- 12. Mlquantify methods
- 13. Core Components