Datasets:
Upload compas.py
Browse files
compas.py
CHANGED
@@ -94,7 +94,7 @@ urls_per_split = {
|
|
94 |
"train": "https://huggingface.co/datasets/mstz/compas/raw/compas-scores-two-years-violent.csv",
|
95 |
}
|
96 |
features_types_per_config = {
|
97 |
-
"two-
|
98 |
"sex": datasets.Value("int64"),
|
99 |
"age": datasets.Value("int64"),
|
100 |
"race": datasets.Value("int64"),
|
@@ -115,7 +115,7 @@ features_types_per_config = {
|
|
115 |
"two_year_recidivous": datasets.ClassLabel(num_classes=2, names=("no", "yes")),
|
116 |
},
|
117 |
|
118 |
-
"two-
|
119 |
"sex": datasets.Value("int64"),
|
120 |
"age": datasets.Value("int64"),
|
121 |
"number_of_juvenile_fellonies": datasets.Value("int64"),
|
|
|
94 |
"train": "https://huggingface.co/datasets/mstz/compas/raw/compas-scores-two-years-violent.csv",
|
95 |
}
|
96 |
features_types_per_config = {
|
97 |
+
"two-years-recidividity": {
|
98 |
"sex": datasets.Value("int64"),
|
99 |
"age": datasets.Value("int64"),
|
100 |
"race": datasets.Value("int64"),
|
|
|
115 |
"two_year_recidivous": datasets.ClassLabel(num_classes=2, names=("no", "yes")),
|
116 |
},
|
117 |
|
118 |
+
"two-years-recidividity-no-race": {
|
119 |
"sex": datasets.Value("int64"),
|
120 |
"age": datasets.Value("int64"),
|
121 |
"number_of_juvenile_fellonies": datasets.Value("int64"),
|