hariprasath-v / AV_job-a-thon-june-2022

Machine learning model to predict if the user would buy the product in the next 3 months or not.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AV_job-a-thon-june-2022

Competition hosted on analyticsvidhya.com

About

Machine learning model to predict if the user would buy the product in the next 3 months or not based on the user's past activities and user-level information.

Competition private LB Rank:14/836

Final Score 0.7540983607

Evaluation Metric F1 score.

File information

  • AV_job_a_thon_june_2022_EDAipynb

    Packages Used,

     * seaborn
     * Pandas
     * Numpy
     * Matplotlib
    

    Basic Exploratory Data Analysis

  • AV-job-a-thon-june-2022-Model.ipynb

    Packages Used,

      * Sklearn
      * Pandas
      * Numpy
      * Matplotlib
      * pycaret
    

    Data Pre-processing

    Compared multiple classifiers using pycaret’s compare_models function. Then took the top 3 models based on the f1 score then blend the model by using pycaret blend_models function.

ROC curve

Alt text

Precision & Recall curve

Alt text

Confusion Matrix for hold-out set

Alt text

Catboost validation curve

Alt text

Catboost model feature Importance

Alt text

Prediction plot

Alt text

About

Machine learning model to predict if the user would buy the product in the next 3 months or not.

License:Apache License 2.0


Languages

Language:HTML 51.6%Language:Jupyter Notebook 48.4%