The project's synthetic dataset was generated using the code from this repository. Hence, the generator is not present here.
-
be able to choose the right measure of fairness depending on various conditions
-
eventually, answer whether the data is balanced (or how much it is probable to be fair)
-
After cloning the repository, create a virtual environment inside:
python3.11 -m venv venv -
Don't forget to activate it (depending on your OS) e.g.
source venv/bin/activate -
Install the dependencies:
pip install -r requirements.txt
Remark: related to n = 24 dataset will be referenced to as sample, while n = 56, which we worked with, will be main.
-
utilsscript contains (mainly metric) functions -
metricCalculationis how we got the calculations -
calculationsdirectory contains sample metric calculations -
plottingis code for getting plots out of calculations -
plotsdirectory contains 2 sub-directories:-
n24are sample plots -
n56are main plots
-
-
datadirectory contains the sample dataset itself -
resourseConsumptionis experiments on time and memory complexity for generating datasets