kleytondacosta commited on
Commit
277b57e
1 Parent(s): a94715d

fix: data folder

Browse files
data/benchmark_binary_classification_preprocessing.csv DELETED
@@ -1,20 +0,0 @@
1
- ,CorrelationRemover,Reweighing,DisparateImpactRemover,LearningFairRepresentation
2
- Mean Score,0.8865675966191056,0.8750882261823116,0.864555697133303,0.8631850989929959
3
- Std Score,0.05808404842677697,0.06044782998151678,0.07543367288425162,0.07997277289145706
4
- Mean Time,1.62271349132061,4.598107069730759,33.05408301949501,16.696009293198586
5
- acsincome_race,0.876318537864686,0.8394366449845139,0.8423873124775367,0.7314480143674112
6
- acsincome_sex,0.8666829734575975,0.863420203884757,0.8679427324917623,0.8354780849750681
7
- acspublic_race,0.8763788955745078,0.8764585821664029,0.8747024025445106,0.8511309045357501
8
- acspublic_sex,0.8661627912602552,0.8606145829519258,0.8570400007305938,0.838605610343224
9
- adult_race,0.9222020952677327,0.8784667451538911,0.8848678190808551,0.869640765500452
10
- adult_sex,0.8774767277464404,0.8753323600753278,0.666232179647573,0.878220011055832
11
- bank_marketing_marital,0.9482961005249901,0.9436748040290688,0.934810647071779,0.9408382174057281
12
- census_kdd_sex,0.9500829865428035,0.9604395078730803,0.9554568631298583,0.9701461158414801
13
- clinical_records_sex,0.8416666666666667,0.8083333333333333,0.8416666666666667,0.7916666666666667
14
- compass_race,0.7682449081554122,0.7464268945784709,0.7490146623708491,0.7060908476974505
15
- compass_sex,0.7712248276713058,0.7799306657334881,0.7973506831753531,0.7667748361012776
16
- diabetes_race,0.9442588316218739,0.9442588316218739,0.9442588316218739,0.9442588316218739
17
- diabetes_sex,0.9442588316218739,0.9442588316218739,0.9442588316218739,0.9442588316218739
18
- german_credit_sex,0.8471428571428572,0.8461706349206349,0.8441666666666667,0.8525
19
- law_school_race,0.9445482987976943,0.8965430403625865,0.8924080049050431,0.944951923076923
20
- law_school_sex,0.9401352159889913,0.9376459556257561,0.9363268499300533,0.944951923076923
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
data/benchmark_binary_classification_preprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:590f3008c02a3209bcfcb672517a14628341b63159892967e36aaaa53b9f36a6
3
+ size 4613
data/benchmark_clustering_inprocessing.csv DELETED
@@ -1,12 +0,0 @@
1
- ,FairKCenterClustering
2
- Mean Score,1.0385496619487136
3
- Std Score,0.07859845400826806
4
- Mean Time,138.30124121904373
5
- adult_race,
6
- adult_sex,1.0341722424228659
7
- clinical_records_sex,1.118377276252995
8
- compass_race,0.9765844254562092
9
- compass_sex,0.9679744366336392
10
- german_credit_sex,1.1866877103325735
11
- student_address,0.9618638921994989
12
- student_sex,1.0241876503432137
 
 
 
 
 
 
 
 
 
 
 
 
 
data/benchmark_clustering_inprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13acd898dae4c7f0aaccb7eb4b69b70f1478de9e67b629166a029b46df501d67
3
+ size 2055
data/benchmark_clustering_postprocessing.csv DELETED
@@ -1,12 +0,0 @@
1
- ,MCMF
2
- Mean Score,1.0120930621530504
3
- Std Score,0.10704138637970127
4
- Mean Time,1.8943922519683838
5
- adult_race,0.8074644662760498
6
- adult_sex,1.0341725618243027
7
- clinical_records_sex,1.1183760881402462
8
- compass_race,0.9769068201474944
9
- compass_sex,0.9679831843308997
10
- german_credit_sex,1.186450439220983
11
- student_address,0.9566219317591514
12
- student_sex,1.048769005525275
 
 
 
 
 
 
 
 
 
 
 
 
 
data/benchmark_clustering_postprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e1fed805826bce327e4f560054c761ce1845eb188a0bd3262d65ef0dfa0fc0a
3
+ size 1930
data/benchmark_clustering_preprocessing.csv DELETED
@@ -1,12 +0,0 @@
1
- ,FairletClusteringPreprocessing
2
- Mean Score,1.0673654726142574
3
- Std Score,0.07683505707356594
4
- Mean Time,3.2132120728492737
5
- adult_race,
6
- adult_sex,1.0480080211405847
7
- clinical_records_sex,1.2173681193924029
8
- compass_race,1.042285097564172
9
- compass_sex,
10
- german_credit_sex,0.9997231472927809
11
- student_address,
12
- student_sex,1.0294429776813472
 
 
 
 
 
 
 
 
 
 
 
 
 
data/benchmark_clustering_preprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21492e5d7d411b997b41bb51174cab4025b1f3edcdd83d95b5bfed4f7717efe1
3
+ size 2114
data/benchmark_multiclass_inprocessing.csv DELETED
@@ -1,7 +0,0 @@
1
- ,FairScoreClassifier
2
- Mean Score,
3
- Std Score,
4
- Mean Time,0.6336973508199056
5
- student_multiclass_address,
6
- student_multiclass_sex,
7
- us_crime_multiclass_race,
 
 
 
 
 
 
 
 
data/benchmark_multiclass_inprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de65e6159c1b828b58644cbba6d16db006d1efeeef97856f606612396f916010
3
+ size 1925
data/benchmark_multiclass_postprocessing.csv DELETED
@@ -1,7 +0,0 @@
1
- ,MLDebiaser,LPDebiaserMulticlass
2
- Mean Score,0.6546835391452802,0.534953106497849
3
- Std Score,0.07083251627187741,0.10330588438990307
4
- Mean Time,10.051608324050903,0.07030876477559407
5
- student_multiclass_address,0.6799800133244505,0.6303519875638464
6
- student_multiclass_sex,0.7259753660161519,0.5830787605011293
7
- us_crime_multiclass_race,0.5580952380952381,0.3914285714285714
 
 
 
 
 
 
 
 
data/benchmark_multiclass_postprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c764434a2ea12eedcd7be70ff94f2bcaab4f9d0e6807ae69c1e7df255f5b3a0d
3
+ size 2587
data/benchmark_multiclass_preprocessing.csv DELETED
@@ -1,7 +0,0 @@
1
- ,CorrelationRemover,Reweighing,DisparateImpactRemover
2
- Mean Score,0.6242105237365309,0.5933368140429286,0.5893518761398712
3
- Std Score,0.08739470615832523,0.1417774680555805,0.10445268339441292
4
- Mean Time,0.38423887888590497,0.03198345502217611,0.07809178034464519
5
- student_multiclass_address,0.6592438374417056,0.6655729513657562,0.5234010659560293
6
- student_multiclass_sex,0.7093401147202678,0.7191993955249346,0.7367974196064413
7
- us_crime_multiclass_race,0.5040476190476191,0.3952380952380952,0.5078571428571428
 
 
 
 
 
 
 
 
data/benchmark_multiclass_preprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10e1386cd5e634c717ed282e195c9d91aa07b1cf282414ac1ca9c0f44afe9e4b
3
+ size 3275
data/benchmark_regression_inprocessing.csv DELETED
@@ -1,7 +0,0 @@
1
- ,ExponentiatedGradientReduction,GridSearchReduction
2
- Mean Score,0.44810584983029017,0.4231354880284339
3
- Std Score,0.06965751486201352,0.10284328585555894
4
- Mean Time,1.3806541760762532,2.872397263844808
5
- student_address,0.49742220803719306,0.4931325031114492
6
- student_sex,0.49730006862314124,0.4985472407798601
7
- us_crime_race,0.34959527283053626,0.27772672019399236
 
 
 
 
 
 
 
 
data/benchmark_regression_inprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f35cd397977930f1067a5094137a82c2d88d303b98b40deb1c5dd779bda1267
3
+ size 2702
data/benchmark_regression_postprocessing.csv DELETED
@@ -1,7 +0,0 @@
1
- ,WassersteinBarycenter,PluginEstimationAndCalibration
2
- Mean Score,0.4916637362354133,0.38669995145967717
3
- Std Score,0.007820612046714834,0.14351958425394262
4
- Mean Time,0.1337589422861735,0.7397027810414633
5
- student_address,0.4957188685994014,0.5
6
- student_sex,0.4985473924898044,0.18421052631579038
7
- us_crime_race,0.4807249476170341,0.47588932806324113
 
 
 
 
 
 
 
 
data/benchmark_regression_postprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99e05fb48560217baf173e3e54119ad82a9468d468582b2367621f20775d4f5b
3
+ size 2708
data/benchmark_regression_preprocessing.csv DELETED
@@ -1,7 +0,0 @@
1
- ,CorrelationRemover,DisparateImpactRemover
2
- Mean Score,0.4782471847142234,0.4282946641192466
3
- Std Score,0.02739730319648526,0.09606931979165735
4
- Mean Time,0.24269692103068033,0.4752860864003499
5
- student_address,0.49561454487038326,0.49586758511933615
6
- student_sex,0.49955849479391634,0.4965836490920693
7
- us_crime_race,0.43956851447837075,0.2924327581463344
 
 
 
 
 
 
 
 
data/benchmark_regression_preprocessing.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b517fbb13837ff66f3ee9bea856e2cbb160c4292f182773f812e98dd088597af
3
+ size 2634
run_benchmark.py CHANGED
@@ -17,7 +17,7 @@ def main():
17
  results = benchmark.run()
18
  if not os.path.exists("data"):
19
  os.makedirs("data")
20
- results.to_csv(f"data/benchmark_{task_type}_{stage}.csv", index=True)
21
  print(f"Results saved for {task_type} task type and {stage} stage.") # noqa: T201
22
 
23
  if __name__ == "__main__":
 
17
  results = benchmark.run()
18
  if not os.path.exists("data"):
19
  os.makedirs("data")
20
+ results.to_parquet(f"data/benchmark_{task_type}_{stage}.parquet", index=True)
21
  print(f"Results saved for {task_type} task type and {stage} stage.") # noqa: T201
22
 
23
  if __name__ == "__main__":