NEW
A learning approach that accounts for different misclassification costs, optimizing expected cost rather than raw accuracy.
DESCRIPTION
Cost-Sensitive Learning explicitly models the costs of various errors, optimizing decisions under asymmetric risks. It is crucial in domains like fraud detection, medical diagnosis, and credit scoring where false negatives and false positives carry different consequences. Techniques include weighted loss functions, cost-aware decision thresholds, and cost-sensitive boosting. Properly estimating costs and calibrating probabilities are key to success. Evaluation should use cost-aware metrics, not only accuracy.
ALTERNATIVE DEFINITIONS
Wikipedia
Cost-sensitive learning is a learning paradigm in which the training process takes into account different costs associated with different types of errors.
Concise overview emphasizing asymmetric error costs.
Elkan (2001)
Cost-sensitive learning is the study of classification algorithms that take the costs of different types of classification errors into account.
Seminal formulation focusing on classification error costs.
scikit-learn
Precision and recall can be interpreted in terms of a cost trade-off, where prioritizing one over the other reflects asymmetric costs.
Connects metrics to cost trade-offs practical in model evaluation.
RELATED TERMS
Class Imbalance Threshold Tuning Precision-Recall ROC Curve Risk Minimization Weighted Loss Focal Loss Reward Function Cost Matrix
COMPETING TERMS
Accuracy-Only Optimization Resampling Methods
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist AI Engineer MLOps Engineer
EXTERNAL SOURCES
- Wikipedia - Cost-sensitive learning
- UC San Diego - Foundations of cost-sensitive learning
- scikit-learn - Class weights for cost handling
- Google Developers - Thresholding and costs
TOP QUESTIONS
What is Cost-Sensitive Learning?
It is a paradigm where models minimize expected cost by weighting errors differently, rather than maximizing raw accuracy.
Category: Definition
When should I use Cost-Sensitive Learning?
Use it when misclassification costs are asymmetric, such as fraud detection, medical screening, or credit risk assessment.
Category: Guidance
How do I implement Cost-Sensitive Learning?
Use weighted loss functions, class weights, or adjust decision thresholds. Calibrate probabilities to make thresholding meaningful.
Category: HowTo
How do I choose class weights?
Start with inverse frequency, then tune based on a cost matrix and validation performance on cost-aware metrics.
Category: Requirements
What metrics align with Cost-Sensitive Learning?
Use expected cost, precision-recall balance, and utility-based metrics rather than accuracy alone.
Category: Evaluation
What are common mistakes?
Ignoring probability calibration and using accuracy for selection leads to suboptimal thresholds and costs.
Category: Mistakes
How does it relate to class imbalance?
Class imbalance often implies cost asymmetry; cost-sensitive methods complement resampling or focal loss approaches.
Category: Related
Is threshold tuning enough?
Sometimes, but training with cost-aware losses often yields better calibrated models and lower overall cost.
Category: Opinion
What is a hot topic here?
Learning cost-aware policies under uncertain or dynamic cost matrices and multi-objective optimization is gaining interest.
Category: Topic