Skip to content

CompasDataset

Dataset class for the COMPAS dataset that contains sensitive attributes among feature columns.

Parameters

  • subsample_size (int) – defaults to None

    Subsample size to create based on the input dataset

  • subsample_seed (int) – defaults to None

    Seed for sampling using the sample() method from pandas

  • dataset_path – defaults to None

    [Optional] Path to a file with the data