--- library_name: sklearn tags: - sklearn - skops - tabular-classification model_format: pickle model_file: NYC_SQF_ARR_MLP.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()), ('mlp', MLPClassifier(verbose=True))] | | verbose | False | | scaler | MinMaxScaler() | | mlp | MLPClassifier(verbose=True) | | scaler__clip | False | | scaler__copy | True | | scaler__feature_range | (0, 1) | | mlp__activation | relu | | mlp__alpha | 0.0001 | | mlp__batch_size | auto | | mlp__beta_1 | 0.9 | | mlp__beta_2 | 0.999 | | mlp__early_stopping | False | | mlp__epsilon | 1e-08 | | mlp__hidden_layer_sizes | (100,) | | mlp__learning_rate | constant | | mlp__learning_rate_init | 0.001 | | mlp__max_fun | 15000 | | mlp__max_iter | 200 | | mlp__momentum | 0.9 | | mlp__n_iter_no_change | 10 | | mlp__nesterovs_momentum | True | | mlp__power_t | 0.5 | | mlp__random_state | | | mlp__shuffle | True | | mlp__solver | adam | | mlp__tol | 0.0001 | | mlp__validation_fraction | 0.1 | | mlp__verbose | True | | mlp__warm_start | False |
### Model Plot
Pipeline(steps=[('scaler', MinMaxScaler()),('mlp', MLPClassifier(verbose=True))])
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.
## Evaluation Results | Metric | Value | |-----------|----------| | accuracy | 0.848003 | | f1 score | 0.756372 | | precision | 0.779951 | | recall | 0.734177 | # 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.