tests.generators#

tests.generators.test_generators#

tests.generators.test_generators.test_generation_non_dp(generator_non_dp, df_wbcd, metadata_wbcd)[source]#

Check the generation process for non differentially private generators.

Parameters:
  • generator_non_dp (Type[Generator]) – the class of the generator to test

  • df_wbcd (dict[str, DataFrame]) – the real Wisconsin Breast Cancer Dataset fixture, split into train and test sets

  • metadata_wbcd (dict) – the wbcd metadata fixture

Return type:

None

Returns:

None

tests.generators.test_generators.test_generation_dp(generator_dp, df_wbcd, metadata_wbcd, preprocess_metadata_wbcd)[source]#

Check the generation process for differentially private generators.

Parameters:
  • generator_dp (Type[Generator]) – the class of the generator to test

  • df_wbcd (dict[str, DataFrame]) – the real Wisconsin Breast Cancer Dataset fixture, split into train and test sets

  • metadata_wbcd (dict) – the wbcd metadata fixture

  • preprocess_metadata_wbcd (dict) – the wbcd preprocessing metadata fixture

Return type:

None

Returns:

None