Giter Club home page Giter Club logo

using-big-data-analytics-to-predict-customer-churn's Introduction

Problem Setting

To predict when a customer might churn for a music company based on the user behavior of the customer and time spent on the website. The prediction is essential for membership-based businesses because it helps in knowing how to reduce their customer churn rate by working on their services.

Dataset details

Total instances of data is 2 million Dataset contains following details: User information – userID, FirstName, Last Name, Gender, Location, User agent, Registration Log Specific Information – Timestamp, Page, Authentication Level, Session ID, itemInSession Artist Details: Artist Name, Genre and Song

Exploratory Data Analysis

We have performed data analysis by checking for any missing values and null values in the dataset. We have found many missing values in our data dropped those missing values. We have then created churn variable for the users that have opted for cancelling their subscription and analyzed the churn rate based on gender, page visits, user log activity, location, artists, browser and registration date.

Feature Selection

Here we are selecting the important attributes that will be used for model building based on the churn analysis. We are selecting 10 attributes based on the proportion of churn and non-churn customers where we notice a significant difference. These attributes are page, artists, gender, sessionid, registration, length and playlist.

Model Development

We are building supervised learning models as know the outcome of our results. We have used build logistic regression and gradient boosting model to predict the churn of customers and comparing their accuracy and F-score

Results:

Most of the customers have churned because they didn’t like the songs and the songs recommended to them by them by their friends We also see that customers that have had a long registration period have churned in high numbers

using-big-data-analytics-to-predict-customer-churn's People

Contributors

shubhamc18 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.