pppereira3 commited on
Commit
ca59ae0
·
verified ·
1 Parent(s): 5f9878c

pushing files to the repo from the example!

Browse files
Files changed (3) hide show
  1. NYC_SQF_ARR_KNN.pkl +2 -2
  2. README.md +261 -81
  3. config.json +311 -41
NYC_SQF_ARR_KNN.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:885c809bd65745845aa2c3f00667e2db70ce4d7fc6280a29612418fcdd665668
3
- size 1269275
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ca9f80848f61047846b035af2909098a3e6f60891bf57b2455546b6d97a9009
3
+ size 4092050
README.md CHANGED
@@ -8,26 +8,98 @@ model_format: pickle
8
  model_file: NYC_SQF_ARR_KNN.pkl
9
  widget:
10
  - structuredData:
11
- ASK_FOR_CONSENT_FLG:
 
 
 
 
12
  - 1
13
  - 1
14
  - 1
15
- CONSENT_GIVEN_FLG:
 
 
 
 
 
16
  - 1
 
 
17
  - 1
 
18
  - 1
 
 
 
 
19
  FIREARM_FLAG:
20
  - 0
21
  - 0
22
  - 0
23
  FRISKED_FLAG:
24
  - 0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  - 0
 
 
 
 
26
  - 1
27
- ISSUING_OFFICER_RANK:
28
- - 11
29
- - 9
30
- - 9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  KNIFE_CUTTER_FLAG:
32
  - 0
33
  - 0
@@ -43,39 +115,147 @@ widget:
43
  SEARCHED_FLAG:
44
  - 0
45
  - 0
46
- - 0
47
  STOP_LOCATION_PRECINCT:
48
- - 115
49
- - 83
50
- - 45
51
- SUPERVISING_OFFICER_RANK:
52
- - 12
53
- - 12
54
- - 12
55
- SUSPECT_BODY_BUILD_TYPE:
56
- - 3
57
- - 3
58
- - 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  SUSPECT_HEIGHT:
60
- - 6.0
61
  - 5.7
62
- - 6.1
63
- SUSPECT_RACE_DESCRIPTION:
64
- - 5
65
- - 4
66
- - 7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  SUSPECT_REPORTED_AGE:
68
- - 26.0
69
- - 41.0
70
- - 27.757022471910112
71
- SUSPECT_SEX:
72
- - 2
73
- - 2
74
- - 2
 
 
 
 
 
 
 
 
75
  SUSPECT_WEIGHT:
76
- - 150.0
77
- - 150.0
78
- - 200.0
79
  ---
80
 
81
  # Model description
@@ -118,57 +298,57 @@ widget:
118
 
119
  ### Model Plot
120
 
121
- <style>#sk-container-id-5 {/* Definition of color scheme common for light and dark mode */--sklearn-color-text: black;--sklearn-color-line: gray;/* Definition of color scheme for unfitted estimators */--sklearn-color-unfitted-level-0: #fff5e6;--sklearn-color-unfitted-level-1: #f6e4d2;--sklearn-color-unfitted-level-2: #ffe0b3;--sklearn-color-unfitted-level-3: chocolate;/* Definition of color scheme for fitted estimators */--sklearn-color-fitted-level-0: #f0f8ff;--sklearn-color-fitted-level-1: #d4ebff;--sklearn-color-fitted-level-2: #b3dbfd;--sklearn-color-fitted-level-3: cornflowerblue;/* Specific color for light theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, white)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-icon: #696969;@media (prefers-color-scheme: dark) {/* Redefinition of color scheme for dark theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, #111)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-icon: #878787;}
122
- }#sk-container-id-5 {color: var(--sklearn-color-text);
123
- }#sk-container-id-5 pre {padding: 0;
124
- }#sk-container-id-5 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;
125
- }#sk-container-id-5 div.sk-dashed-wrapped {border: 1px dashed var(--sklearn-color-line);margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: var(--sklearn-color-background);
126
- }#sk-container-id-5 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }`but bootstrap.min.css set `[hidden] { display: none !important; }`so we also need the `!important` here to be able to override thedefault hidden behavior on the sphinx rendered scikit-learn.org.See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;
127
- }#sk-container-id-5 div.sk-text-repr-fallback {display: none;
128
  }div.sk-parallel-item,
129
  div.sk-serial,
130
  div.sk-item {/* draw centered vertical line to link estimators */background-image: linear-gradient(var(--sklearn-color-text-on-default-background), var(--sklearn-color-text-on-default-background));background-size: 2px 100%;background-repeat: no-repeat;background-position: center center;
131
- }/* Parallel-specific style estimator block */#sk-container-id-5 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
132
- }#sk-container-id-5 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
133
- }#sk-container-id-5 div.sk-parallel-item {display: flex;flex-direction: column;
134
- }#sk-container-id-5 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
135
- }#sk-container-id-5 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
136
- }#sk-container-id-5 div.sk-parallel-item:only-child::after {width: 0;
137
- }/* Serial-specific style estimator block */#sk-container-id-5 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
138
  }/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
139
  clickable and can be expanded/collapsed.
140
  - Pipeline and ColumnTransformer use this feature and define the default style
141
  - Estimators will overwrite some part of the style using the `sk-estimator` class
142
- *//* Pipeline and ColumnTransformer style (default) */#sk-container-id-5 div.sk-toggleable {/* Default theme specific background. It is overwritten whether we have aspecific estimator or a Pipeline/ColumnTransformer */background-color: var(--sklearn-color-background);
143
  }/* Toggleable label */
144
- #sk-container-id-5 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;
145
- }#sk-container-id-5 label.sk-toggleable__label-arrow:before {/* Arrow on the left of the label */content: "▸";float: left;margin-right: 0.25em;color: var(--sklearn-color-icon);
146
- }#sk-container-id-5 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
147
- }/* Toggleable content - dropdown */#sk-container-id-5 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
148
- }#sk-container-id-5 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
149
- }#sk-container-id-5 div.sk-toggleable__content pre {margin: 0.2em;border-radius: 0.25em;color: var(--sklearn-color-text);/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
150
- }#sk-container-id-5 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
151
- }#sk-container-id-5 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */max-height: 200px;max-width: 100%;overflow: auto;
152
- }#sk-container-id-5 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
153
- }/* Pipeline/ColumnTransformer-specific style */#sk-container-id-5 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
154
- }#sk-container-id-5 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
155
  }/* Estimator-specific style *//* Colorize estimator box */
156
- #sk-container-id-5 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
157
- }#sk-container-id-5 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
158
- }#sk-container-id-5 div.sk-label label.sk-toggleable__label,
159
- #sk-container-id-5 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
160
  }/* On hover, darken the color of the background */
161
- #sk-container-id-5 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
162
  }/* Label box, darken color on hover, fitted */
163
- #sk-container-id-5 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
164
- }/* Estimator label */#sk-container-id-5 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
165
- }#sk-container-id-5 div.sk-label-container {text-align: center;
166
  }/* Estimator-specific */
167
- #sk-container-id-5 div.sk-estimator {font-family: monospace;border: 1px dotted var(--sklearn-color-border-box);border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
168
- }#sk-container-id-5 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
169
  }/* on hover */
170
- #sk-container-id-5 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
171
- }#sk-container-id-5 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
172
  }/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
173
  a:link.sk-estimator-doc-link,
174
  a:visited.sk-estimator-doc-link {float: right;font-size: smaller;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1em;height: 1em;width: 1em;text-decoration: none !important;margin-left: 1ex;/* unfitted */border: var(--sklearn-color-unfitted-level-1) 1pt solid;color: var(--sklearn-color-unfitted-level-1);
@@ -188,22 +368,22 @@ div.sk-label-container:hover .sk-estimator-doc-link.fitted:hover,
188
  .sk-estimator-doc-link span {display: none;z-index: 9999;position: relative;font-weight: normal;right: .2ex;padding: .5ex;margin: .5ex;width: min-content;min-width: 20ex;max-width: 50ex;color: var(--sklearn-color-text);box-shadow: 2pt 2pt 4pt #999;/* unfitted */background: var(--sklearn-color-unfitted-level-0);border: .5pt solid var(--sklearn-color-unfitted-level-3);
189
  }.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
190
  }.sk-estimator-doc-link:hover span {display: block;
191
- }/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-5 a.estimator_doc_link {float: right;font-size: 1rem;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1rem;height: 1rem;width: 1rem;text-decoration: none;/* unfitted */color: var(--sklearn-color-unfitted-level-1);border: var(--sklearn-color-unfitted-level-1) 1pt solid;
192
- }#sk-container-id-5 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
193
  }/* On hover */
194
- #sk-container-id-5 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
195
- }#sk-container-id-5 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
196
  }
197
- </style><div id="sk-container-id-5" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;scaler&#x27;, MinMaxScaler()),(&#x27;knn&#x27;, KNeighborsClassifier(n_neighbors=15))])</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-13" type="checkbox" ><label for="sk-estimator-id-13" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;&nbsp;Pipeline<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.pipeline.Pipeline.html">?<span>Documentation for Pipeline</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></label><div class="sk-toggleable__content fitted"><pre>Pipeline(steps=[(&#x27;scaler&#x27;, MinMaxScaler()),(&#x27;knn&#x27;, KNeighborsClassifier(n_neighbors=15))])</pre></div> </div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-14" type="checkbox" ><label for="sk-estimator-id-14" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;MinMaxScaler<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.preprocessing.MinMaxScaler.html">?<span>Documentation for MinMaxScaler</span></a></label><div class="sk-toggleable__content fitted"><pre>MinMaxScaler()</pre></div> </div></div><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-15" type="checkbox" ><label for="sk-estimator-id-15" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;KNeighborsClassifier<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.neighbors.KNeighborsClassifier.html">?<span>Documentation for KNeighborsClassifier</span></a></label><div class="sk-toggleable__content fitted"><pre>KNeighborsClassifier(n_neighbors=15)</pre></div> </div></div></div></div></div></div>
198
 
199
  ## Evaluation Results
200
 
201
  | Metric | Value |
202
  |-----------|----------|
203
- | accuracy | 0.854806 |
204
- | f1 score | 0.740402 |
205
- | precision | 0.795157 |
206
- | recall | 0.692702 |
207
 
208
  # How to Get Started with the Model
209
 
 
8
  model_file: NYC_SQF_ARR_KNN.pkl
9
  widget:
10
  - structuredData:
11
+ ASK_FOR_CONSENT_FLG_(null):
12
+ - 0
13
+ - 0
14
+ - 0
15
+ ASK_FOR_CONSENT_FLG_N:
16
  - 1
17
  - 1
18
  - 1
19
+ ASK_FOR_CONSENT_FLG_Y:
20
+ - 0
21
+ - 0
22
+ - 0
23
+ CONSENT_GIVEN_FLG_(null):
24
+ - 0
25
  - 1
26
+ - 0
27
+ CONSENT_GIVEN_FLG_N:
28
  - 1
29
+ - 0
30
  - 1
31
+ CONSENT_GIVEN_FLG_Y:
32
+ - 0
33
+ - 0
34
+ - 0
35
  FIREARM_FLAG:
36
  - 0
37
  - 0
38
  - 0
39
  FRISKED_FLAG:
40
  - 0
41
+ - 1
42
+ - 1
43
+ ISSUING_OFFICER_RANK_CPT:
44
+ - 0
45
+ - 0
46
+ - 0
47
+ ISSUING_OFFICER_RANK_DI:
48
+ - 0
49
+ - 0
50
+ - 0
51
+ ISSUING_OFFICER_RANK_DT1:
52
+ - 0
53
+ - 0
54
+ - 0
55
+ ISSUING_OFFICER_RANK_DT2:
56
+ - 0
57
+ - 0
58
+ - 0
59
+ ISSUING_OFFICER_RANK_DT3:
60
+ - 0
61
+ - 0
62
+ - 0
63
+ ISSUING_OFFICER_RANK_DTS:
64
+ - 0
65
+ - 0
66
+ - 0
67
+ ISSUING_OFFICER_RANK_INS:
68
+ - 0
69
+ - 0
70
+ - 0
71
+ ISSUING_OFFICER_RANK_LSA:
72
+ - 0
73
+ - 0
74
+ - 0
75
+ ISSUING_OFFICER_RANK_LT:
76
  - 0
77
+ - 0
78
+ - 0
79
+ ISSUING_OFFICER_RANK_PO:
80
+ - 1
81
  - 1
82
+ - 1
83
+ ISSUING_OFFICER_RANK_POF:
84
+ - 0
85
+ - 0
86
+ - 0
87
+ ISSUING_OFFICER_RANK_POM:
88
+ - 0
89
+ - 0
90
+ - 0
91
+ ISSUING_OFFICER_RANK_SDS:
92
+ - 0
93
+ - 0
94
+ - 0
95
+ ISSUING_OFFICER_RANK_SGT:
96
+ - 0
97
+ - 0
98
+ - 0
99
+ ISSUING_OFFICER_RANK_SSA:
100
+ - 0
101
+ - 0
102
+ - 0
103
  KNIFE_CUTTER_FLAG:
104
  - 0
105
  - 0
 
115
  SEARCHED_FLAG:
116
  - 0
117
  - 0
118
+ - 1
119
  STOP_LOCATION_PRECINCT:
120
+ - 20
121
+ - 23
122
+ - 46
123
+ SUPERVISING_OFFICER_RANK_CPT:
124
+ - 0
125
+ - 0
126
+ - 0
127
+ SUPERVISING_OFFICER_RANK_DI:
128
+ - 0
129
+ - 0
130
+ - 0
131
+ SUPERVISING_OFFICER_RANK_DT3:
132
+ - 0
133
+ - 0
134
+ - 0
135
+ SUPERVISING_OFFICER_RANK_DTS:
136
+ - 0
137
+ - 0
138
+ - 0
139
+ SUPERVISING_OFFICER_RANK_INS:
140
+ - 0
141
+ - 0
142
+ - 0
143
+ SUPERVISING_OFFICER_RANK_LCD:
144
+ - 0
145
+ - 0
146
+ - 0
147
+ SUPERVISING_OFFICER_RANK_LSA:
148
+ - 0
149
+ - 0
150
+ - 0
151
+ SUPERVISING_OFFICER_RANK_LT:
152
+ - 0
153
+ - 0
154
+ - 0
155
+ SUPERVISING_OFFICER_RANK_PO:
156
+ - 0
157
+ - 0
158
+ - 0
159
+ SUPERVISING_OFFICER_RANK_POF:
160
+ - 0
161
+ - 0
162
+ - 0
163
+ SUPERVISING_OFFICER_RANK_POM:
164
+ - 0
165
+ - 0
166
+ - 0
167
+ SUPERVISING_OFFICER_RANK_SDS:
168
+ - 0
169
+ - 0
170
+ - 0
171
+ SUPERVISING_OFFICER_RANK_SGT:
172
+ - 1
173
+ - 1
174
+ - 1
175
+ SUPERVISING_OFFICER_RANK_SSA:
176
+ - 0
177
+ - 0
178
+ - 0
179
+ SUSPECT_BODY_BUILD_TYPE_(null):
180
+ - 0
181
+ - 0
182
+ - 0
183
+ SUSPECT_BODY_BUILD_TYPE_HEA:
184
+ - 0
185
+ - 0
186
+ - 0
187
+ SUSPECT_BODY_BUILD_TYPE_MED:
188
+ - 0
189
+ - 1
190
+ - 1
191
+ SUSPECT_BODY_BUILD_TYPE_THN:
192
+ - 1
193
+ - 0
194
+ - 0
195
+ SUSPECT_BODY_BUILD_TYPE_U:
196
+ - 0
197
+ - 0
198
+ - 0
199
+ SUSPECT_BODY_BUILD_TYPE_XXX:
200
+ - 0
201
+ - 0
202
+ - 0
203
  SUSPECT_HEIGHT:
 
204
  - 5.7
205
+ - 5.9
206
+ - 5.1
207
+ SUSPECT_RACE_DESCRIPTION_(null):
208
+ - 0
209
+ - 0
210
+ - 0
211
+ SUSPECT_RACE_DESCRIPTION_AMERICAN INDIAN/ALASKAN NATIVE:
212
+ - 0
213
+ - 0
214
+ - 0
215
+ SUSPECT_RACE_DESCRIPTION_ASIAN / PACIFIC ISLANDER:
216
+ - 0
217
+ - 0
218
+ - 0
219
+ SUSPECT_RACE_DESCRIPTION_BLACK:
220
+ - 0
221
+ - 0
222
+ - 1
223
+ SUSPECT_RACE_DESCRIPTION_BLACK HISPANIC:
224
+ - 0
225
+ - 0
226
+ - 0
227
+ SUSPECT_RACE_DESCRIPTION_MIDDLE EASTERN/SOUTHWEST ASIAN:
228
+ - 0
229
+ - 0
230
+ - 0
231
+ SUSPECT_RACE_DESCRIPTION_WHITE:
232
+ - 0
233
+ - 0
234
+ - 0
235
+ SUSPECT_RACE_DESCRIPTION_WHITE HISPANIC:
236
+ - 1
237
+ - 1
238
+ - 0
239
  SUSPECT_REPORTED_AGE:
240
+ - 30.0
241
+ - 28.0
242
+ - 24.0
243
+ SUSPECT_SEX_(null):
244
+ - 0
245
+ - 0
246
+ - 0
247
+ SUSPECT_SEX_FEMALE:
248
+ - 0
249
+ - 0
250
+ - 0
251
+ SUSPECT_SEX_MALE:
252
+ - 1
253
+ - 1
254
+ - 1
255
  SUSPECT_WEIGHT:
256
+ - 160.0
257
+ - 175.0
258
+ - 210.0
259
  ---
260
 
261
  # Model description
 
298
 
299
  ### Model Plot
300
 
301
+ <style>#sk-container-id-2 {/* Definition of color scheme common for light and dark mode */--sklearn-color-text: black;--sklearn-color-line: gray;/* Definition of color scheme for unfitted estimators */--sklearn-color-unfitted-level-0: #fff5e6;--sklearn-color-unfitted-level-1: #f6e4d2;--sklearn-color-unfitted-level-2: #ffe0b3;--sklearn-color-unfitted-level-3: chocolate;/* Definition of color scheme for fitted estimators */--sklearn-color-fitted-level-0: #f0f8ff;--sklearn-color-fitted-level-1: #d4ebff;--sklearn-color-fitted-level-2: #b3dbfd;--sklearn-color-fitted-level-3: cornflowerblue;/* Specific color for light theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, white)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, black)));--sklearn-color-icon: #696969;@media (prefers-color-scheme: dark) {/* Redefinition of color scheme for dark theme */--sklearn-color-text-on-default-background: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-background: var(--sg-background-color, var(--theme-background, var(--jp-layout-color0, #111)));--sklearn-color-border-box: var(--sg-text-color, var(--theme-code-foreground, var(--jp-content-font-color1, white)));--sklearn-color-icon: #878787;}
302
+ }#sk-container-id-2 {color: var(--sklearn-color-text);
303
+ }#sk-container-id-2 pre {padding: 0;
304
+ }#sk-container-id-2 input.sk-hidden--visually {border: 0;clip: rect(1px 1px 1px 1px);clip: rect(1px, 1px, 1px, 1px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;
305
+ }#sk-container-id-2 div.sk-dashed-wrapped {border: 1px dashed var(--sklearn-color-line);margin: 0 0.4em 0.5em 0.4em;box-sizing: border-box;padding-bottom: 0.4em;background-color: var(--sklearn-color-background);
306
+ }#sk-container-id-2 div.sk-container {/* jupyter's `normalize.less` sets `[hidden] { display: none; }`but bootstrap.min.css set `[hidden] { display: none !important; }`so we also need the `!important` here to be able to override thedefault hidden behavior on the sphinx rendered scikit-learn.org.See: https://github.com/scikit-learn/scikit-learn/issues/21755 */display: inline-block !important;position: relative;
307
+ }#sk-container-id-2 div.sk-text-repr-fallback {display: none;
308
  }div.sk-parallel-item,
309
  div.sk-serial,
310
  div.sk-item {/* draw centered vertical line to link estimators */background-image: linear-gradient(var(--sklearn-color-text-on-default-background), var(--sklearn-color-text-on-default-background));background-size: 2px 100%;background-repeat: no-repeat;background-position: center center;
311
+ }/* Parallel-specific style estimator block */#sk-container-id-2 div.sk-parallel-item::after {content: "";width: 100%;border-bottom: 2px solid var(--sklearn-color-text-on-default-background);flex-grow: 1;
312
+ }#sk-container-id-2 div.sk-parallel {display: flex;align-items: stretch;justify-content: center;background-color: var(--sklearn-color-background);position: relative;
313
+ }#sk-container-id-2 div.sk-parallel-item {display: flex;flex-direction: column;
314
+ }#sk-container-id-2 div.sk-parallel-item:first-child::after {align-self: flex-end;width: 50%;
315
+ }#sk-container-id-2 div.sk-parallel-item:last-child::after {align-self: flex-start;width: 50%;
316
+ }#sk-container-id-2 div.sk-parallel-item:only-child::after {width: 0;
317
+ }/* Serial-specific style estimator block */#sk-container-id-2 div.sk-serial {display: flex;flex-direction: column;align-items: center;background-color: var(--sklearn-color-background);padding-right: 1em;padding-left: 1em;
318
  }/* Toggleable style: style used for estimator/Pipeline/ColumnTransformer box that is
319
  clickable and can be expanded/collapsed.
320
  - Pipeline and ColumnTransformer use this feature and define the default style
321
  - Estimators will overwrite some part of the style using the `sk-estimator` class
322
+ *//* Pipeline and ColumnTransformer style (default) */#sk-container-id-2 div.sk-toggleable {/* Default theme specific background. It is overwritten whether we have aspecific estimator or a Pipeline/ColumnTransformer */background-color: var(--sklearn-color-background);
323
  }/* Toggleable label */
324
+ #sk-container-id-2 label.sk-toggleable__label {cursor: pointer;display: block;width: 100%;margin-bottom: 0;padding: 0.5em;box-sizing: border-box;text-align: center;
325
+ }#sk-container-id-2 label.sk-toggleable__label-arrow:before {/* Arrow on the left of the label */content: "▸";float: left;margin-right: 0.25em;color: var(--sklearn-color-icon);
326
+ }#sk-container-id-2 label.sk-toggleable__label-arrow:hover:before {color: var(--sklearn-color-text);
327
+ }/* Toggleable content - dropdown */#sk-container-id-2 div.sk-toggleable__content {max-height: 0;max-width: 0;overflow: hidden;text-align: left;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
328
+ }#sk-container-id-2 div.sk-toggleable__content.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
329
+ }#sk-container-id-2 div.sk-toggleable__content pre {margin: 0.2em;border-radius: 0.25em;color: var(--sklearn-color-text);/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
330
+ }#sk-container-id-2 div.sk-toggleable__content.fitted pre {/* unfitted */background-color: var(--sklearn-color-fitted-level-0);
331
+ }#sk-container-id-2 input.sk-toggleable__control:checked~div.sk-toggleable__content {/* Expand drop-down */max-height: 200px;max-width: 100%;overflow: auto;
332
+ }#sk-container-id-2 input.sk-toggleable__control:checked~label.sk-toggleable__label-arrow:before {content: "▾";
333
+ }/* Pipeline/ColumnTransformer-specific style */#sk-container-id-2 div.sk-label input.sk-toggleable__control:checked~label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
334
+ }#sk-container-id-2 div.sk-label.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {background-color: var(--sklearn-color-fitted-level-2);
335
  }/* Estimator-specific style *//* Colorize estimator box */
336
+ #sk-container-id-2 div.sk-estimator input.sk-toggleable__control:checked~label.sk-toggleable__label {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
337
+ }#sk-container-id-2 div.sk-estimator.fitted input.sk-toggleable__control:checked~label.sk-toggleable__label {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
338
+ }#sk-container-id-2 div.sk-label label.sk-toggleable__label,
339
+ #sk-container-id-2 div.sk-label label {/* The background is the default theme color */color: var(--sklearn-color-text-on-default-background);
340
  }/* On hover, darken the color of the background */
341
+ #sk-container-id-2 div.sk-label:hover label.sk-toggleable__label {color: var(--sklearn-color-text);background-color: var(--sklearn-color-unfitted-level-2);
342
  }/* Label box, darken color on hover, fitted */
343
+ #sk-container-id-2 div.sk-label.fitted:hover label.sk-toggleable__label.fitted {color: var(--sklearn-color-text);background-color: var(--sklearn-color-fitted-level-2);
344
+ }/* Estimator label */#sk-container-id-2 div.sk-label label {font-family: monospace;font-weight: bold;display: inline-block;line-height: 1.2em;
345
+ }#sk-container-id-2 div.sk-label-container {text-align: center;
346
  }/* Estimator-specific */
347
+ #sk-container-id-2 div.sk-estimator {font-family: monospace;border: 1px dotted var(--sklearn-color-border-box);border-radius: 0.25em;box-sizing: border-box;margin-bottom: 0.5em;/* unfitted */background-color: var(--sklearn-color-unfitted-level-0);
348
+ }#sk-container-id-2 div.sk-estimator.fitted {/* fitted */background-color: var(--sklearn-color-fitted-level-0);
349
  }/* on hover */
350
+ #sk-container-id-2 div.sk-estimator:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-2);
351
+ }#sk-container-id-2 div.sk-estimator.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-2);
352
  }/* Specification for estimator info (e.g. "i" and "?") *//* Common style for "i" and "?" */.sk-estimator-doc-link,
353
  a:link.sk-estimator-doc-link,
354
  a:visited.sk-estimator-doc-link {float: right;font-size: smaller;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1em;height: 1em;width: 1em;text-decoration: none !important;margin-left: 1ex;/* unfitted */border: var(--sklearn-color-unfitted-level-1) 1pt solid;color: var(--sklearn-color-unfitted-level-1);
 
368
  .sk-estimator-doc-link span {display: none;z-index: 9999;position: relative;font-weight: normal;right: .2ex;padding: .5ex;margin: .5ex;width: min-content;min-width: 20ex;max-width: 50ex;color: var(--sklearn-color-text);box-shadow: 2pt 2pt 4pt #999;/* unfitted */background: var(--sklearn-color-unfitted-level-0);border: .5pt solid var(--sklearn-color-unfitted-level-3);
369
  }.sk-estimator-doc-link.fitted span {/* fitted */background: var(--sklearn-color-fitted-level-0);border: var(--sklearn-color-fitted-level-3);
370
  }.sk-estimator-doc-link:hover span {display: block;
371
+ }/* "?"-specific style due to the `<a>` HTML tag */#sk-container-id-2 a.estimator_doc_link {float: right;font-size: 1rem;line-height: 1em;font-family: monospace;background-color: var(--sklearn-color-background);border-radius: 1rem;height: 1rem;width: 1rem;text-decoration: none;/* unfitted */color: var(--sklearn-color-unfitted-level-1);border: var(--sklearn-color-unfitted-level-1) 1pt solid;
372
+ }#sk-container-id-2 a.estimator_doc_link.fitted {/* fitted */border: var(--sklearn-color-fitted-level-1) 1pt solid;color: var(--sklearn-color-fitted-level-1);
373
  }/* On hover */
374
+ #sk-container-id-2 a.estimator_doc_link:hover {/* unfitted */background-color: var(--sklearn-color-unfitted-level-3);color: var(--sklearn-color-background);text-decoration: none;
375
+ }#sk-container-id-2 a.estimator_doc_link.fitted:hover {/* fitted */background-color: var(--sklearn-color-fitted-level-3);
376
  }
377
+ </style><div id="sk-container-id-2" class="sk-top-container" style="overflow: auto;"><div class="sk-text-repr-fallback"><pre>Pipeline(steps=[(&#x27;scaler&#x27;, MinMaxScaler()),(&#x27;knn&#x27;, KNeighborsClassifier(n_neighbors=15))])</pre><b>In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook. <br />On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.</b></div><div class="sk-container" hidden><div class="sk-item sk-dashed-wrapped"><div class="sk-label-container"><div class="sk-label fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-4" type="checkbox" ><label for="sk-estimator-id-4" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;&nbsp;Pipeline<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.pipeline.Pipeline.html">?<span>Documentation for Pipeline</span></a><span class="sk-estimator-doc-link fitted">i<span>Fitted</span></span></label><div class="sk-toggleable__content fitted"><pre>Pipeline(steps=[(&#x27;scaler&#x27;, MinMaxScaler()),(&#x27;knn&#x27;, KNeighborsClassifier(n_neighbors=15))])</pre></div> </div></div><div class="sk-serial"><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-5" type="checkbox" ><label for="sk-estimator-id-5" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;MinMaxScaler<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.preprocessing.MinMaxScaler.html">?<span>Documentation for MinMaxScaler</span></a></label><div class="sk-toggleable__content fitted"><pre>MinMaxScaler()</pre></div> </div></div><div class="sk-item"><div class="sk-estimator fitted sk-toggleable"><input class="sk-toggleable__control sk-hidden--visually" id="sk-estimator-id-6" type="checkbox" ><label for="sk-estimator-id-6" class="sk-toggleable__label fitted sk-toggleable__label-arrow fitted">&nbsp;KNeighborsClassifier<a class="sk-estimator-doc-link fitted" rel="noreferrer" target="_blank" href="https://scikit-learn.org/1.5/modules/generated/sklearn.neighbors.KNeighborsClassifier.html">?<span>Documentation for KNeighborsClassifier</span></a></label><div class="sk-toggleable__content fitted"><pre>KNeighborsClassifier(n_neighbors=15)</pre></div> </div></div></div></div></div></div>
378
 
379
  ## Evaluation Results
380
 
381
  | Metric | Value |
382
  |-----------|----------|
383
+ | accuracy | 0.821006 |
384
+ | f1 score | 0.659874 |
385
+ | precision | 0.847473 |
386
+ | recall | 0.540276 |
387
 
388
  # How to Get Started with the Model
389
 
config.json CHANGED
@@ -5,48 +5,183 @@
5
  "SEARCHED_FLAG",
6
  "STOP_LOCATION_PRECINCT",
7
  "SUSPECT_REPORTED_AGE",
8
- "SUSPECT_SEX",
9
- "SUSPECT_RACE_DESCRIPTION",
10
  "SUSPECT_HEIGHT",
11
  "SUSPECT_WEIGHT",
12
- "SUSPECT_BODY_BUILD_TYPE",
13
  "OTHER_CONTRABAND_FLAG",
14
  "FIREARM_FLAG",
15
  "KNIFE_CUTTER_FLAG",
16
  "OTHER_WEAPON_FLAG",
17
- "ASK_FOR_CONSENT_FLG",
18
- "CONSENT_GIVEN_FLG",
19
- "ISSUING_OFFICER_RANK",
20
- "SUPERVISING_OFFICER_RANK"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  ],
22
  "environment": [
23
  "scikit-learn=1.5.2"
24
  ],
25
  "example_input": {
26
- "ASK_FOR_CONSENT_FLG": [
 
 
 
 
 
27
  1,
28
  1,
29
  1
30
  ],
31
- "CONSENT_GIVEN_FLG": [
 
 
 
 
 
 
32
  1,
 
 
 
33
  1,
 
34
  1
35
  ],
 
 
 
 
 
36
  "FIREARM_FLAG": [
37
  0,
38
  0,
39
  0
40
  ],
41
  "FRISKED_FLAG": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
  0,
43
  0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  1
45
  ],
46
- "ISSUING_OFFICER_RANK": [
47
- 11,
48
- 9,
49
- 9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  ],
51
  "KNIFE_CUTTER_FLAG": [
52
  0,
@@ -66,47 +201,182 @@
66
  "SEARCHED_FLAG": [
67
  0,
68
  0,
69
- 0
70
  ],
71
  "STOP_LOCATION_PRECINCT": [
72
- 115,
73
- 83,
74
- 45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  ],
76
- "SUPERVISING_OFFICER_RANK": [
77
- 12,
78
- 12,
79
- 12
80
  ],
81
- "SUSPECT_BODY_BUILD_TYPE": [
82
- 3,
83
- 3,
84
- 2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  ],
86
  "SUSPECT_HEIGHT": [
87
- 6.0,
88
  5.7,
89
- 6.1
 
90
  ],
91
- "SUSPECT_RACE_DESCRIPTION": [
92
- 5,
93
- 4,
94
- 7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  ],
96
  "SUSPECT_REPORTED_AGE": [
97
- 26.0,
98
- 41.0,
99
- 27.757022471910112
 
 
 
 
 
 
 
 
 
 
100
  ],
101
- "SUSPECT_SEX": [
102
- 2,
103
- 2,
104
- 2
105
  ],
106
  "SUSPECT_WEIGHT": [
107
- 150.0,
108
- 150.0,
109
- 200.0
110
  ]
111
  },
112
  "model": {
 
5
  "SEARCHED_FLAG",
6
  "STOP_LOCATION_PRECINCT",
7
  "SUSPECT_REPORTED_AGE",
 
 
8
  "SUSPECT_HEIGHT",
9
  "SUSPECT_WEIGHT",
 
10
  "OTHER_CONTRABAND_FLAG",
11
  "FIREARM_FLAG",
12
  "KNIFE_CUTTER_FLAG",
13
  "OTHER_WEAPON_FLAG",
14
+ "SUSPECT_BODY_BUILD_TYPE_(null)",
15
+ "SUSPECT_BODY_BUILD_TYPE_HEA",
16
+ "SUSPECT_BODY_BUILD_TYPE_MED",
17
+ "SUSPECT_BODY_BUILD_TYPE_THN",
18
+ "SUSPECT_BODY_BUILD_TYPE_U",
19
+ "SUSPECT_BODY_BUILD_TYPE_XXX",
20
+ "ISSUING_OFFICER_RANK_CPT",
21
+ "ISSUING_OFFICER_RANK_DI",
22
+ "ISSUING_OFFICER_RANK_DT1",
23
+ "ISSUING_OFFICER_RANK_DT2",
24
+ "ISSUING_OFFICER_RANK_DT3",
25
+ "ISSUING_OFFICER_RANK_DTS",
26
+ "ISSUING_OFFICER_RANK_INS",
27
+ "ISSUING_OFFICER_RANK_LSA",
28
+ "ISSUING_OFFICER_RANK_LT",
29
+ "ISSUING_OFFICER_RANK_PO",
30
+ "ISSUING_OFFICER_RANK_POF",
31
+ "ISSUING_OFFICER_RANK_POM",
32
+ "ISSUING_OFFICER_RANK_SDS",
33
+ "ISSUING_OFFICER_RANK_SGT",
34
+ "ISSUING_OFFICER_RANK_SSA",
35
+ "SUPERVISING_OFFICER_RANK_CPT",
36
+ "SUPERVISING_OFFICER_RANK_DI",
37
+ "SUPERVISING_OFFICER_RANK_DT3",
38
+ "SUPERVISING_OFFICER_RANK_DTS",
39
+ "SUPERVISING_OFFICER_RANK_INS",
40
+ "SUPERVISING_OFFICER_RANK_LCD",
41
+ "SUPERVISING_OFFICER_RANK_LSA",
42
+ "SUPERVISING_OFFICER_RANK_LT",
43
+ "SUPERVISING_OFFICER_RANK_PO",
44
+ "SUPERVISING_OFFICER_RANK_POF",
45
+ "SUPERVISING_OFFICER_RANK_POM",
46
+ "SUPERVISING_OFFICER_RANK_SDS",
47
+ "SUPERVISING_OFFICER_RANK_SGT",
48
+ "SUPERVISING_OFFICER_RANK_SSA",
49
+ "ASK_FOR_CONSENT_FLG_(null)",
50
+ "ASK_FOR_CONSENT_FLG_N",
51
+ "ASK_FOR_CONSENT_FLG_Y",
52
+ "CONSENT_GIVEN_FLG_(null)",
53
+ "CONSENT_GIVEN_FLG_N",
54
+ "CONSENT_GIVEN_FLG_Y",
55
+ "SUSPECT_RACE_DESCRIPTION_(null)",
56
+ "SUSPECT_RACE_DESCRIPTION_AMERICAN INDIAN/ALASKAN NATIVE",
57
+ "SUSPECT_RACE_DESCRIPTION_ASIAN / PACIFIC ISLANDER",
58
+ "SUSPECT_RACE_DESCRIPTION_BLACK",
59
+ "SUSPECT_RACE_DESCRIPTION_BLACK HISPANIC",
60
+ "SUSPECT_RACE_DESCRIPTION_MIDDLE EASTERN/SOUTHWEST ASIAN",
61
+ "SUSPECT_RACE_DESCRIPTION_WHITE",
62
+ "SUSPECT_RACE_DESCRIPTION_WHITE HISPANIC",
63
+ "SUSPECT_SEX_(null)",
64
+ "SUSPECT_SEX_FEMALE",
65
+ "SUSPECT_SEX_MALE"
66
  ],
67
  "environment": [
68
  "scikit-learn=1.5.2"
69
  ],
70
  "example_input": {
71
+ "ASK_FOR_CONSENT_FLG_(null)": [
72
+ 0,
73
+ 0,
74
+ 0
75
+ ],
76
+ "ASK_FOR_CONSENT_FLG_N": [
77
  1,
78
  1,
79
  1
80
  ],
81
+ "ASK_FOR_CONSENT_FLG_Y": [
82
+ 0,
83
+ 0,
84
+ 0
85
+ ],
86
+ "CONSENT_GIVEN_FLG_(null)": [
87
+ 0,
88
  1,
89
+ 0
90
+ ],
91
+ "CONSENT_GIVEN_FLG_N": [
92
  1,
93
+ 0,
94
  1
95
  ],
96
+ "CONSENT_GIVEN_FLG_Y": [
97
+ 0,
98
+ 0,
99
+ 0
100
+ ],
101
  "FIREARM_FLAG": [
102
  0,
103
  0,
104
  0
105
  ],
106
  "FRISKED_FLAG": [
107
+ 0,
108
+ 1,
109
+ 1
110
+ ],
111
+ "ISSUING_OFFICER_RANK_CPT": [
112
+ 0,
113
+ 0,
114
+ 0
115
+ ],
116
+ "ISSUING_OFFICER_RANK_DI": [
117
+ 0,
118
+ 0,
119
+ 0
120
+ ],
121
+ "ISSUING_OFFICER_RANK_DT1": [
122
+ 0,
123
+ 0,
124
+ 0
125
+ ],
126
+ "ISSUING_OFFICER_RANK_DT2": [
127
  0,
128
  0,
129
+ 0
130
+ ],
131
+ "ISSUING_OFFICER_RANK_DT3": [
132
+ 0,
133
+ 0,
134
+ 0
135
+ ],
136
+ "ISSUING_OFFICER_RANK_DTS": [
137
+ 0,
138
+ 0,
139
+ 0
140
+ ],
141
+ "ISSUING_OFFICER_RANK_INS": [
142
+ 0,
143
+ 0,
144
+ 0
145
+ ],
146
+ "ISSUING_OFFICER_RANK_LSA": [
147
+ 0,
148
+ 0,
149
+ 0
150
+ ],
151
+ "ISSUING_OFFICER_RANK_LT": [
152
+ 0,
153
+ 0,
154
+ 0
155
+ ],
156
+ "ISSUING_OFFICER_RANK_PO": [
157
+ 1,
158
+ 1,
159
  1
160
  ],
161
+ "ISSUING_OFFICER_RANK_POF": [
162
+ 0,
163
+ 0,
164
+ 0
165
+ ],
166
+ "ISSUING_OFFICER_RANK_POM": [
167
+ 0,
168
+ 0,
169
+ 0
170
+ ],
171
+ "ISSUING_OFFICER_RANK_SDS": [
172
+ 0,
173
+ 0,
174
+ 0
175
+ ],
176
+ "ISSUING_OFFICER_RANK_SGT": [
177
+ 0,
178
+ 0,
179
+ 0
180
+ ],
181
+ "ISSUING_OFFICER_RANK_SSA": [
182
+ 0,
183
+ 0,
184
+ 0
185
  ],
186
  "KNIFE_CUTTER_FLAG": [
187
  0,
 
201
  "SEARCHED_FLAG": [
202
  0,
203
  0,
204
+ 1
205
  ],
206
  "STOP_LOCATION_PRECINCT": [
207
+ 20,
208
+ 23,
209
+ 46
210
+ ],
211
+ "SUPERVISING_OFFICER_RANK_CPT": [
212
+ 0,
213
+ 0,
214
+ 0
215
+ ],
216
+ "SUPERVISING_OFFICER_RANK_DI": [
217
+ 0,
218
+ 0,
219
+ 0
220
+ ],
221
+ "SUPERVISING_OFFICER_RANK_DT3": [
222
+ 0,
223
+ 0,
224
+ 0
225
+ ],
226
+ "SUPERVISING_OFFICER_RANK_DTS": [
227
+ 0,
228
+ 0,
229
+ 0
230
  ],
231
+ "SUPERVISING_OFFICER_RANK_INS": [
232
+ 0,
233
+ 0,
234
+ 0
235
  ],
236
+ "SUPERVISING_OFFICER_RANK_LCD": [
237
+ 0,
238
+ 0,
239
+ 0
240
+ ],
241
+ "SUPERVISING_OFFICER_RANK_LSA": [
242
+ 0,
243
+ 0,
244
+ 0
245
+ ],
246
+ "SUPERVISING_OFFICER_RANK_LT": [
247
+ 0,
248
+ 0,
249
+ 0
250
+ ],
251
+ "SUPERVISING_OFFICER_RANK_PO": [
252
+ 0,
253
+ 0,
254
+ 0
255
+ ],
256
+ "SUPERVISING_OFFICER_RANK_POF": [
257
+ 0,
258
+ 0,
259
+ 0
260
+ ],
261
+ "SUPERVISING_OFFICER_RANK_POM": [
262
+ 0,
263
+ 0,
264
+ 0
265
+ ],
266
+ "SUPERVISING_OFFICER_RANK_SDS": [
267
+ 0,
268
+ 0,
269
+ 0
270
+ ],
271
+ "SUPERVISING_OFFICER_RANK_SGT": [
272
+ 1,
273
+ 1,
274
+ 1
275
+ ],
276
+ "SUPERVISING_OFFICER_RANK_SSA": [
277
+ 0,
278
+ 0,
279
+ 0
280
+ ],
281
+ "SUSPECT_BODY_BUILD_TYPE_(null)": [
282
+ 0,
283
+ 0,
284
+ 0
285
+ ],
286
+ "SUSPECT_BODY_BUILD_TYPE_HEA": [
287
+ 0,
288
+ 0,
289
+ 0
290
+ ],
291
+ "SUSPECT_BODY_BUILD_TYPE_MED": [
292
+ 0,
293
+ 1,
294
+ 1
295
+ ],
296
+ "SUSPECT_BODY_BUILD_TYPE_THN": [
297
+ 1,
298
+ 0,
299
+ 0
300
+ ],
301
+ "SUSPECT_BODY_BUILD_TYPE_U": [
302
+ 0,
303
+ 0,
304
+ 0
305
+ ],
306
+ "SUSPECT_BODY_BUILD_TYPE_XXX": [
307
+ 0,
308
+ 0,
309
+ 0
310
  ],
311
  "SUSPECT_HEIGHT": [
 
312
  5.7,
313
+ 5.9,
314
+ 5.1
315
  ],
316
+ "SUSPECT_RACE_DESCRIPTION_(null)": [
317
+ 0,
318
+ 0,
319
+ 0
320
+ ],
321
+ "SUSPECT_RACE_DESCRIPTION_AMERICAN INDIAN/ALASKAN NATIVE": [
322
+ 0,
323
+ 0,
324
+ 0
325
+ ],
326
+ "SUSPECT_RACE_DESCRIPTION_ASIAN / PACIFIC ISLANDER": [
327
+ 0,
328
+ 0,
329
+ 0
330
+ ],
331
+ "SUSPECT_RACE_DESCRIPTION_BLACK": [
332
+ 0,
333
+ 0,
334
+ 1
335
+ ],
336
+ "SUSPECT_RACE_DESCRIPTION_BLACK HISPANIC": [
337
+ 0,
338
+ 0,
339
+ 0
340
+ ],
341
+ "SUSPECT_RACE_DESCRIPTION_MIDDLE EASTERN/SOUTHWEST ASIAN": [
342
+ 0,
343
+ 0,
344
+ 0
345
+ ],
346
+ "SUSPECT_RACE_DESCRIPTION_WHITE": [
347
+ 0,
348
+ 0,
349
+ 0
350
+ ],
351
+ "SUSPECT_RACE_DESCRIPTION_WHITE HISPANIC": [
352
+ 1,
353
+ 1,
354
+ 0
355
  ],
356
  "SUSPECT_REPORTED_AGE": [
357
+ 30.0,
358
+ 28.0,
359
+ 24.0
360
+ ],
361
+ "SUSPECT_SEX_(null)": [
362
+ 0,
363
+ 0,
364
+ 0
365
+ ],
366
+ "SUSPECT_SEX_FEMALE": [
367
+ 0,
368
+ 0,
369
+ 0
370
  ],
371
+ "SUSPECT_SEX_MALE": [
372
+ 1,
373
+ 1,
374
+ 1
375
  ],
376
  "SUSPECT_WEIGHT": [
377
+ 160.0,
378
+ 175.0,
379
+ 210.0
380
  ]
381
  },
382
  "model": {