Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Languages:
English
Tags:
legal
Libraries:
Datasets
pandas
License:
File size: 2,270 Bytes
915b163
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
add8d05
 
 
 
 
 
fa926fb
 
 
 
915b163
fa926fb
915b163
4b16ff8
add8d05
fa926fb
add8d05
 
 
 
fa926fb
add8d05
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
---
dataset_info:
  features:
  - name: id
    dtype: float64
  - name: name
    dtype: string
  - name: first
    dtype: string
  - name: last
    dtype: string
  - name: sex
    dtype: string
  - name: dob
    dtype: string
  - name: age
    dtype: int64
  - name: age_cat
    dtype: string
  - name: race
    dtype: string
  - name: juv_fel_count
    dtype: int64
  - name: decile_score
    dtype: int64
  - name: juv_misd_count
    dtype: int64
  - name: juv_other_count
    dtype: int64
  - name: priors_count
    dtype: int64
  - name: days_b_screening_arrest
    dtype: float64
  - name: c_jail_in
    dtype: string
  - name: c_jail_out
    dtype: string
  - name: c_days_from_compas
    dtype: float64
  - name: c_charge_degree
    dtype: string
  - name: c_charge_desc
    dtype: string
  - name: is_recid
    dtype: int64
  - name: r_charge_degree
    dtype: string
  - name: r_days_from_arrest
    dtype: float64
  - name: r_offense_date
    dtype: string
  - name: r_charge_desc
    dtype: string
  - name: r_jail_in
    dtype: string
  - name: violent_recid
    dtype: float64
  - name: is_violent_recid
    dtype: int64
  - name: vr_charge_degree
    dtype: string
  - name: vr_offense_date
    dtype: string
  - name: vr_charge_desc
    dtype: string
  - name: type_of_assessment
    dtype: string
  - name: decile_score.1
    dtype: int64
  - name: score_text
    dtype: string
  - name: screening_date
    dtype: string
  - name: v_type_of_assessment
    dtype: string
  - name: v_decile_score
    dtype: int64
  - name: v_score_text
    dtype: string
  - name: priors_count.1
    dtype: int64
  - name: event
    dtype: int64
  splits:
  - name: train
    num_bytes: 7742099
    num_examples: 18316
  download_size: 1350808
  dataset_size: 7742099
license: odc-by
language:
- en
pretty_name: COMPAS
size_categories:
- 10K<n<100K
task_categories:
- text-classification
tags:
- legal
---
# COMPAS (Teeny-Tiny Castle)

This dataset is part of a tutorial tied to the [Teeny-Tiny Castle](https://github.com/Nkluge-correa/TeenyTinyCastle), an open-source repository containing educational tools for AI Ethics and Safety research. 

## How to Use

```python
from datasets import load_dataset

dataset = load_dataset("AiresPucrs/COMPAS", split = 'train')
```