024vishnu/adult-income-responsible-ai
Adult Income Classification and Fairness Model
Model Details
This educational project predicts Class-label = 1 in the cleaned Adult dataset and compares Random Forest, Multinomial Naive Bayes, k-nearest neighbors, and Linear SVM.
- Selected model: Random Forest
- Framework: scikit-learn 1.6.1
- Training timestamp: 2026-08-03T10:36:46.709070+00:00
- Sensitive attribute evaluated: gender
Intended Use
Responsible AI education, model-card demonstrations, and classroom experiments with predictive performance and group fairness.
Out-of-Scope Use
Do not use this model for employment, lending, insurance, housing, healthcare, criminal-justice, or other consequential decisions.
Dataset
- Rows: 45,222
- Input features: 14
- Target:
Class-label - Positive class:
1 - Protected groups evaluated:
MaleandFemale
Preprocessing
- Stratified 80/20 train/test split
- Median imputation and min-max scaling for numeric columns
- Most-frequent imputation and one-hot encoding for categorical columns
Evaluation Results
Fairness Evaluation
Statistical parity difference: P(predicted positive | Male) - P(predicted positive | Female). A value near zero indicates similar positive-prediction rates. Disparate impact is reported as the female rate divided by the male rate.
Limitations and Risks
- Statistical parity is only one group-fairness metric and does not prove overall fairness.
- The dataset uses binary gender categories and does not represent all gender identities.
- Historical data may encode structural inequalities.
- Accuracy can hide unequal false-positive and false-negative rates.
- No causal, intersectional, robustness, calibration, or post-deployment analysis was performed.
Recommended Further Evaluation
Evaluate equal opportunity, equalized odds, calibration, subgroup confusion matrices, intersectional groups, robustness, stakeholder-defined harms, and post-deployment monitoring.
Reproducibility
The complete pipeline is stored in adult_income_best_model.joblib, and the comparison is stored in model_comparison.csv.
Environmental Impact
These are relatively small CPU-based tabular models. No formal energy or carbon measurement was conducted.
