Skip to content

annadutkiewicz/Detecting_Customers_Subscription

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detecting_Customers_Subscription

Description

The company provides a mobile app which has both free and paid version of the product. The aim is to predict which users will subscribe to paid membership.

Workflow

  1. Data import
  • Load libraries
  • Load dataset
  • Exploratory data analysis (EDA)
  1. Data cleaning
  • Convert column type
  • Remove unnecessary columns
  1. Data visualizing
  • Plot histogram
  1. Correlation with response
  2. Correlation matrix
  • Compute the correlation matrix
  • Generate a mask for the upper triangle
  • Draw the heatmap with the mask and correct aspect ratio
  1. Feature engineering
  • Formatting date columns
  • Selecting time for response
  • Load top screens
  • Mapping screens to fields
  • Funnels
  1. Data preprocessing
  • Splitting independent and response variables
  • Splitting the dataset into the training set and test set
  • Removing identifiers
  • Feature scaling
  1. Model building
  • Fitting model to the training set
  • Predicting test set
  • Evaluating results
  • Print confusion matrix
  • Print heatmap
  • Print classification report
  • Formatting final results

Conclusions

We ended up with almost 100% accuracy of our model which is very good.

Acknowledgements

This implementation was inspired by Kirill Eremenko, Hadelin de Ponteves, Dr. Ryan Ahmed, Ph.D., MBA, SuperDataScience Team, Rony Sulca Machine Learning Practical Udemy course

About

The aim is to predict which users will subscribe to paid membership

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published