Synthetic Dataset Generation
收藏资源简介:
该项目实现了一种使用遗传算法的数据生成方法,旨在故意在多个统计公平性指标上诱导数据集偏差,用于更公平的不公平性研究。
This project implements a data generation method using genetic algorithms, aiming to deliberately induce dataset bias across multiple statistical fairness metrics for more equitable research on unfairness.
数据集概述
数据集目的
本数据集用于生成带有偏见的合成数据,以支持对多种统计公平性度量的研究。
数据生成方法
采用遗传算法来故意在数据集中引入偏见。
主要功能
- 生成参考数据集
- 生成基于特定公平性度量的不公平数据集
执行程序
- 依赖库:sklearn, pandas, numpy, statistics, geneal
- 如何运行程序:
-
选择不公平度量指标
-
生成不公平数据集的命令示例:
python main.py --unfair_metric 7 --dataset "simulated.csv" --label_name "label" --sensitive_name "protected" --save_unfair_dataset
-
引用文献
Lan Jiang, Clara Belitz, and Nigel Bosch. 2024. Synthetic Dataset Generation for Fairer Unfairness Research. In Proceedings of the 14th Learning Analytics and Knowledge Conference (LAK 24). Association for Computing Machinery, New York, NY, USA, 200–209. https://doi.org/10.1145/3636555.3636868




