Skip to content

Instantly share code, notes, and snippets.

View edooley7's full-sized avatar

Erin Dooley edooley7

View GitHub Profile
@edooley7
edooley7 / error_data.csv
Created August 13, 2015 18:48
Different error types
Model Innocent - presumed guilty Guilty - presumed innocent
Severity of offense (1994) 0.391673570837 0.000310687655344
Sentence Length (1994) 0.376346313173 0.0158450704225
Time served (1994) 0.344552609776 0.0396644573322
Age at release (1994) 0.310141020324 0.0484238905019
Consequence (first arrest) 0.304681027341 0.071043910522
Age at first offense 0.292648186699 0.0672729264819
Total prior arrests (1994) 0.274751449876 0.0631731565866
Average arrest rate 0.254145478665 0.0895423391554
Full model 0.212283044059 0.0897863818425
@edooley7
edooley7 / final_data.csv
Created August 10, 2015 01:36
Crime analysis bar chart
Model Correct Incorrect
Full model 0.697930574099 0.302069425901
Total prior arrests (1994) 0.662075393538 0.337924606462
Average arrest rate 0.65631218218 0.34368781782
Age at release (1994) 0.641435089175 0.358564910825
Age at first offense 0.640078886819 0.359921113181
Consequence (first arrest) 0.624275062138 0.375724937862
Time served (1994) 0.615782932891 0.384217067109
Severity of offense (1994) 0.608015741508 0.391984258492
Sentence Length (1994) 0.607808616404 0.392191383596