---
library_name: sklearn
tags:
- sklearn
- skops
- tabular-classification
model_format: pickle
model_file: NYC_SQF_ARR_KNN.pkl
widget:
- structuredData:
ASK_FOR_CONSENT_FLG_(null):
- 0
- 0
- 0
ASK_FOR_CONSENT_FLG_N:
- 1
- 1
- 1
ASK_FOR_CONSENT_FLG_Y:
- 0
- 0
- 0
CONSENT_GIVEN_FLG_(null):
- 0
- 1
- 0
CONSENT_GIVEN_FLG_N:
- 1
- 0
- 1
CONSENT_GIVEN_FLG_Y:
- 0
- 0
- 0
FIREARM_FLAG:
- 0
- 0
- 0
FRISKED_FLAG:
- 0
- 1
- 1
ISSUING_OFFICER_RANK_CPT:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_DI:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_DT1:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_DT2:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_DT3:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_DTS:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_INS:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_LSA:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_LT:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_PO:
- 1
- 1
- 1
ISSUING_OFFICER_RANK_POF:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_POM:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_SDS:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_SGT:
- 0
- 0
- 0
ISSUING_OFFICER_RANK_SSA:
- 0
- 0
- 0
KNIFE_CUTTER_FLAG:
- 0
- 0
- 0
OTHER_CONTRABAND_FLAG:
- 0
- 0
- 0
OTHER_WEAPON_FLAG:
- 0
- 0
- 0
SEARCHED_FLAG:
- 0
- 0
- 1
STOP_LOCATION_PRECINCT:
- 20
- 23
- 46
SUPERVISING_OFFICER_RANK_CPT:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_DI:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_DT3:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_DTS:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_INS:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_LCD:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_LSA:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_LT:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_PO:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_POF:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_POM:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_SDS:
- 0
- 0
- 0
SUPERVISING_OFFICER_RANK_SGT:
- 1
- 1
- 1
SUPERVISING_OFFICER_RANK_SSA:
- 0
- 0
- 0
SUSPECT_BODY_BUILD_TYPE_(null):
- 0
- 0
- 0
SUSPECT_BODY_BUILD_TYPE_HEA:
- 0
- 0
- 0
SUSPECT_BODY_BUILD_TYPE_MED:
- 0
- 1
- 1
SUSPECT_BODY_BUILD_TYPE_THN:
- 1
- 0
- 0
SUSPECT_BODY_BUILD_TYPE_U:
- 0
- 0
- 0
SUSPECT_BODY_BUILD_TYPE_XXX:
- 0
- 0
- 0
SUSPECT_HEIGHT:
- 5.7
- 5.9
- 5.1
SUSPECT_RACE_DESCRIPTION_(null):
- 0
- 0
- 0
SUSPECT_RACE_DESCRIPTION_AMERICAN INDIAN/ALASKAN NATIVE:
- 0
- 0
- 0
SUSPECT_RACE_DESCRIPTION_ASIAN / PACIFIC ISLANDER:
- 0
- 0
- 0
SUSPECT_RACE_DESCRIPTION_BLACK:
- 0
- 0
- 1
SUSPECT_RACE_DESCRIPTION_BLACK HISPANIC:
- 0
- 0
- 0
SUSPECT_RACE_DESCRIPTION_MIDDLE EASTERN/SOUTHWEST ASIAN:
- 0
- 0
- 0
SUSPECT_RACE_DESCRIPTION_WHITE:
- 0
- 0
- 0
SUSPECT_RACE_DESCRIPTION_WHITE HISPANIC:
- 1
- 1
- 0
SUSPECT_REPORTED_AGE:
- 30.0
- 28.0
- 24.0
SUSPECT_SEX_(null):
- 0
- 0
- 0
SUSPECT_SEX_FEMALE:
- 0
- 0
- 0
SUSPECT_SEX_MALE:
- 1
- 1
- 1
SUSPECT_WEIGHT:
- 160.0
- 175.0
- 210.0
---
# Model description
[More Information Needed]
## Intended uses & limitations
[More Information Needed]
## Training Procedure
[More Information Needed]
### Hyperparameters
Click to expand
| Hyperparameter | Value |
|-----------------------|-----------------------------------------------------------------------------|
| memory | |
| steps | [('scaler', MinMaxScaler()), ('knn', KNeighborsClassifier(n_neighbors=15))] |
| verbose | False |
| scaler | MinMaxScaler() |
| knn | KNeighborsClassifier(n_neighbors=15) |
| scaler__clip | False |
| scaler__copy | True |
| scaler__feature_range | (0, 1) |
| knn__algorithm | auto |
| knn__leaf_size | 30 |
| knn__metric | minkowski |
| knn__metric_params | |
| knn__n_jobs | |
| knn__n_neighbors | 15 |
| knn__p | 2 |
| knn__weights | uniform |
Pipeline(steps=[('scaler', MinMaxScaler()),('knn', KNeighborsClassifier(n_neighbors=15))])In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
Pipeline(steps=[('scaler', MinMaxScaler()),('knn', KNeighborsClassifier(n_neighbors=15))])
MinMaxScaler()
KNeighborsClassifier(n_neighbors=15)