compas {jfa}R Documentation

COMPAS Recidivism Prediction

Description

This data was used to predict recidivism (whether a criminal will reoffend or not) in the USA.

Usage

data(compas)

Format

A data frame with 100 rows and 2 variables.

TwoYrRecidivism

yes/no for recidivism or no recidivism.

AgeAboveFoutryFive

yes/no for age above 45 years or not

AgeBelowTwentyFive

yes/no for age below 25 years or not

Gender

female/male for gender

Misdemeanor

yes/no for having recorded misdemeanor(s) or not

Ethnicity

Caucasian, African American, Asian, Hispanic, Native American or Other

Predicted

yes/no, predicted values for recidivism

References

https://www.kaggle.com/danofer/compass https://cran.r-project.org/package=fairness

Examples

data(compas)

[Package jfa version 0.7.1 Index]