File size: 2,486 Bytes
7d0d7a1
 
 
 
 
 
 
 
 
 
 
 
 
b9af923
7d0d7a1
 
 
 
b9af923
7d0d7a1
 
b9af923
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
language:
- en
tags:
- compas
- tabular_classification
- binary_classification
pretty_name: Compas
size_categories:
- 1K<n<10K
task_categories:  # Full list at https://github.com/huggingface/hub-docs/blob/main/js/src/lib/interfaces/Types.ts
- tabular-classification
configs:
- encoding
- two-years-recidividity
- two-years-recidividity-no-race
- priors-prediction
- priors-prediction-no-race
- race
---
# Compas
The [Compas dataset](https://github.com/propublica/compas-analysis) for recidivism prediction.

# Configurations and tasks
- `encoding` Encoding of non-numerical variables.
- `two-years-recidividity` Binary classification of violent recidivism.
- `two-years-recidividity-no-race` As above, but the `race` feature is removed.
- `priors-prediction` Regression on the number of prior offenses of defendant.
- `priors-prediction-no-race` As above, but the `race` feature is removed.
- `race` Multiclass classification, predict `race` out of other features.

# Features

|**Feature**                            |**Type**   |**Description**                        |
|---------------------------------------|-----------|---------------------------------------|
|`sex`                                  |`int64`    |                                       |
|`age`                                  |`int64`    |                                       |
|`race`                                 |`int64`    |                                       |
|`number_of_juvenile_fellonies`         |`int64`    |                                       |
|`decile_score`                         |`int64`    |Criminality score                      |
|`number_of_juvenile_misdemeanors`      |`int64`    |                                       |
|`number_of_other_juvenile_offenses`    |`int64`    |                                       |
|`number_of_prior_offenses`             |`int64`    |                                       |
|`days_before_screening_arrest`         |`int64`    |                                       |
|`is_recidivous`                        |`int64`    |                                       |
|`days_in_custody`                      |`int64`    |Days spent in custody                  |
|`is_violent_recidivous`                |`int64`    |                                       |
|`violence_decile_score`                |`int64`    |Criminality score for violent crimes   |
|`two_years_recidivous`                 |`int64`    |                                       |