Dataset Viewer
Auto-converted to Parquet Duplicate
protected_col
string
label_col
string
feature_cols
list
numeric_cols
list
categorical_cols
list
sex
Y
[ "age", "fnlwgt", "capital-gain", "capital-loss", "hours-per-week", "workclass", "education-num", "marital-status", "occupation", "relationship", "race", "native-country" ]
[ "age", "fnlwgt", "capital-gain", "capital-loss", "hours-per-week" ]
[ "workclass", "education-num", "marital-status", "occupation", "relationship", "race", "native-country" ]

adult-fairness

Adult Income dataset preprocessed for fairness ML experiments (DRO vs Naive). Predicts income >$50K with gender as protected attribute.

Dataset Description

This dataset is part of a fairness-aware machine learning research project comparing Distributionally Robust Optimization (DRO) against standard (naive) ML approaches.

Files

  • adult_processed.csv: Preprocessed dataset ready for ML training
  • adult_meta.json: Metadata including feature names, protected attribute, and target label

Usage

from datasets import load_dataset

# Load dataset
dataset = load_dataset("kuldeepbishnoi29/adult-fairness")

# Or directly with pandas
import pandas as pd
df = pd.read_csv("hf://datasets/kuldeepbishnoi29/adult-fairness/adult_processed.csv")

Metadata

The metadata file contains:

  • protected_col: Name of the protected/sensitive attribute
  • label_col: Name of the target variable
  • feature_cols: List of feature columns for modeling
  • numeric_cols: Numeric feature columns
  • categorical_cols: Categorical feature columns

Citation

If you use this dataset, please cite the original data source and consider referencing this preprocessed version.

License

MIT License - Use freely with attribution

Downloads last month
12