metadata
library_name: sklearn
tags:
- sklearn
- skops
- tabular-classification
model_format: pickle
model_file: NYC_SQF_ARR_RF.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
- 28
- 24
SUSPECT_SEX_(null):
- 0
- 0
- 0
SUSPECT_SEX_FEMALE:
- 0
- 0
- 0
SUSPECT_SEX_MALE:
- 1
- 1
- 1
SUSPECT_WEIGHT:
- 160
- 175
- 210
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', StandardScaler()), ('svm', RandomForestClassifier())] |
verbose | False |
scaler | StandardScaler() |
svm | RandomForestClassifier() |
scaler__copy | True |
scaler__with_mean | True |
scaler__with_std | True |
svm__bootstrap | True |
svm__ccp_alpha | 0.0 |
svm__class_weight | |
svm__criterion | gini |
svm__max_depth | |
svm__max_features | sqrt |
svm__max_leaf_nodes | |
svm__max_samples | |
svm__min_impurity_decrease | 0.0 |
svm__min_samples_leaf | 1 |
svm__min_samples_split | 2 |
svm__min_weight_fraction_leaf | 0.0 |
svm__monotonic_cst | |
svm__n_estimators | 100 |
svm__n_jobs | |
svm__oob_score | False |
svm__random_state | |
svm__verbose | 0 |
svm__warm_start | False |
Model Plot
Pipeline(steps=[('scaler', StandardScaler()),('svm', RandomForestClassifier())])In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.
Pipeline(steps=[('scaler', StandardScaler()),('svm', RandomForestClassifier())])
StandardScaler()
RandomForestClassifier()
Evaluation Results
Metric | Value |
---|---|
accuracy | 0.860392 |
f1 score | 0.769606 |
precision | 0.819363 |
recall | 0.725547 |
How to Get Started with the Model
[More Information Needed]
Model Card Authors
This model card is written by following authors:
[More Information Needed]
Model Card Contact
You can contact the model card authors through following channels: [More Information Needed]
Citation
Below you can find information related to citation.
BibTeX:
[More Information Needed]
eval_method
The model is evaluated using test split, on accuracy, precision, recall and f1.