AiresPucrs/COMPAS
收藏资源简介:
--- 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') ```
The COMPAS (Correctional Offender Management Profiling for Alternative Sanctions) dataset is used to analyze various aspects of the criminal justice system, including the likelihood of certain groups receiving harsher sentences and the accuracy of the COMPAS algorithms predictions. The dataset contains 40 columns that capture demographic information, assessment details, recidivism indicators, and risk scores assigned by the COMPAS algorithm. Each row represents a unique assessment or case related to an individuals involvement with the criminal justice system. The dataset consists of 18,316 demonstrations and is available in English. It is licensed under the Open Database Commons license.
COMPAS 数据集概述
数据集详情
特征信息
- id: 数据类型为 float64
- name: 数据类型为 string
- first: 数据类型为 string
- last: 数据类型为 string
- sex: 数据类型为 string
- dob: 数据类型为 string
- age: 数据类型为 int64
- age_cat: 数据类型为 string
- race: 数据类型为 string
- juv_fel_count: 数据类型为 int64
- decile_score: 数据类型为 int64
- juv_misd_count: 数据类型为 int64
- juv_other_count: 数据类型为 int64
- priors_count: 数据类型为 int64
- days_b_screening_arrest: 数据类型为 float64
- c_jail_in: 数据类型为 string
- c_jail_out: 数据类型为 string
- c_days_from_compas: 数据类型为 float64
- c_charge_degree: 数据类型为 string
- c_charge_desc: 数据类型为 string
- is_recid: 数据类型为 int64
- r_charge_degree: 数据类型为 string
- r_days_from_arrest: 数据类型为 float64
- r_offense_date: 数据类型为 string
- r_charge_desc: 数据类型为 string
- r_jail_in: 数据类型为 string
- violent_recid: 数据类型为 float64
- is_violent_recid: 数据类型为 int64
- vr_charge_degree: 数据类型为 string
- vr_offense_date: 数据类型为 string
- vr_charge_desc: 数据类型为 string
- type_of_assessment: 数据类型为 string
- decile_score.1: 数据类型为 int64
- score_text: 数据类型为 string
- screening_date: 数据类型为 string
- v_type_of_assessment: 数据类型为 string
- v_decile_score: 数据类型为 int64
- v_score_text: 数据类型为 string
- priors_count.1: 数据类型为 int64
- event: 数据类型为 int64
数据分割
- train: 包含 18316 个样本,占用 7742099 字节
数据集大小
- 下载大小: 1350808 字节
- 数据集大小: 7742099 字节
许可
- 数据集遵循 odc-by 许可
语言
- 英语
数据集名称
- COMPAS
数据集大小分类
- 10K<n<100K




