Skip to content

Commit

Permalink
test: test datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
liamj2311 committed Sep 26, 2024
1 parent fb87743 commit 26c7c4d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/core/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ def test_dataset_creation_with_scores_via_factory(self):
privileged_groups=[{'prot_attr': 1}],
# parameters of aequitas.StructuredDataset init
imputation_strategy=MeanImputationStrategy(),
# parameters of aif360.BinaryLabelDataset init
favorable_label=1,
unfavorable_label=0,
# parameters of aif360.StructuredDataset init
df=generate_binary_label_dataframe_with_scores(),
scores_names="score"
Expand All @@ -73,9 +70,6 @@ def test_dataset_creation_with_scores_via_factory(self):
privileged_groups=[{'prot_attr': 1}],
# parameters of aequitas.StructuredDataset init
imputation_strategy=MeanImputationStrategy(),
# parameters of aif360.BinaryLabelDataset init
favorable_label=1,
unfavorable_label=0,
# parameters of aif360.StructuredDataset init
df=generate_skewed_binary_label_dataframe_with_scores(),
scores_names="score"
Expand All @@ -92,9 +86,6 @@ def test_metrics_on_dataset(self):
privileged_groups=[{'prot_attr': 1}],
# parameters of aequitas.StructuredDataset init
imputation_strategy=MeanImputationStrategy(),
# parameters of aif360.BinaryLabelDataset init
favorable_label=1,
unfavorable_label=0,
# parameters of aif360.StructuredDataset init
df=df,
scores_names="score"
Expand All @@ -108,9 +99,6 @@ def test_metrics_on_dataset(self):
privileged_groups=[{'prot_attr': 1}],
# parameters of aequitas.StructuredDataset init
imputation_strategy=MeanImputationStrategy(),
# parameters of aif360.BinaryLabelDataset init
favorable_label=1,
unfavorable_label=0,
# parameters of aif360.StructuredDataset init
df=df_skewed,
scores_names="score"
Expand Down

0 comments on commit 26c7c4d

Please sign in to comment.