CoolFace
Modelpublic

024vishnu/adult-income-responsible-ai

sourceHugging Facemitupdated 2mo agoView on Hugging Face
0likes
Model Card

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: Male and Female

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

ModelAccuracyMale positive rateFemale positive rateStatistical parity differenceDisparate impact (Female/Male)
Random Forest0.85150.27070.08110.18960.2995
Linear SVM0.84520.25410.07440.17970.2928
k-NN0.82620.28030.08140.19890.2905
Naive Bayes0.79250.45370.06400.38970.1411

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.