NYC_SQF_ARR_KNN / README.md
pppereira3's picture
pushing files to the repo from the example!
5f9878c verified
metadata
library_name: sklearn
tags:
  - sklearn
  - skops
  - tabular-classification
model_format: pickle
model_file: NYC_SQF_ARR_KNN.pkl
widget:
  - structuredData:
      ASK_FOR_CONSENT_FLG:
        - 1
        - 1
        - 1
      CONSENT_GIVEN_FLG:
        - 1
        - 1
        - 1
      FIREARM_FLAG:
        - 0
        - 0
        - 0
      FRISKED_FLAG:
        - 0
        - 0
        - 1
      ISSUING_OFFICER_RANK:
        - 11
        - 9
        - 9
      KNIFE_CUTTER_FLAG:
        - 0
        - 0
        - 0
      OTHER_CONTRABAND_FLAG:
        - 0
        - 0
        - 0
      OTHER_WEAPON_FLAG:
        - 0
        - 0
        - 0
      SEARCHED_FLAG:
        - 0
        - 0
        - 0
      STOP_LOCATION_PRECINCT:
        - 115
        - 83
        - 45
      SUPERVISING_OFFICER_RANK:
        - 12
        - 12
        - 12
      SUSPECT_BODY_BUILD_TYPE:
        - 3
        - 3
        - 2
      SUSPECT_HEIGHT:
        - 6
        - 5.7
        - 6.1
      SUSPECT_RACE_DESCRIPTION:
        - 5
        - 4
        - 7
      SUSPECT_REPORTED_AGE:
        - 26
        - 41
        - 27.757022471910112
      SUSPECT_SEX:
        - 2
        - 2
        - 2
      SUSPECT_WEIGHT:
        - 150
        - 150
        - 200

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

Model Plot

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.
On GitHub, the HTML representation is unable to render, please try loading this page with nbviewer.org.

Evaluation Results

Metric Value
accuracy 0.854806
f1 score 0.740402
precision 0.795157
recall 0.692702

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.