hariprasath-v / Machinehack_predict_accident_risk_score_for_unique_postcode

Machine Learning model to predict Accident Risk Index by using area/district level accident data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Machinehack_predict_accident_risk_score_for_unique_postcode

Competition hosted on MACHINEHACK

About

Machine Learning model to predict Accident Risk Index by using area/district level accident data.

Competition Public LB Rank:201 & Private LB Rank:200

Final Score 0.6497

Evaluation Metric is Mean squared error.

File information

  • MH_predict_accident_risk_score_for_unique_postcode_EDA.ipynb

    Packages Used,

     * seaborn
     * Pandas
     * klib
     * Numpy
     * Matplotlib
     * re
    

    Basic Exploratory Data Analysis

  • MH_predict_accident_risk_score_for_unique_postcode_Model.ipynb

    Packages Used,

      * Sklearn
      * re
      * Pandas
      * Numpy
      * Matplotlib
      * pycaret
      * shap
    

    Data Pre-processing

    Created pycaret voting regressor model.

    Model interpretation with shap

Residuals Plot

Alt text

Prediction Error Plot

Alt text

Pycaret Feature Importance Plot

Alt text

SHAP Feature Importance

Alt text

SHAP Feature Impact

Alt text

SHAP Feature Impact on Single observation

Alt text

About

Machine Learning model to predict Accident Risk Index by using area/district level accident data

License:Apache License 2.0


Languages

Language:Jupyter Notebook 100.0%