Git Product home page Git Product logo

telco_customer_churn_modelling's Introduction

Telco customer churn modelling

Analysis of the factors that could have an impact on customer churn from the telecom operator. An attempt to predict which customers may opt out of the telecommunications operator's services.

File in the repository:

๐Ÿ‘‰ Telco_Customer_Churn_Modelling.ipynb - Link to Google Colab

Project Overview

  • generated a basic report on the input data frame using pandas_profiling;
  • missing data in the 'TotalCharges' column have been supplemented with the median value in this column;
  • data visualizations were created;
  • data was divided into training data (70%) and testing data (30%);
  • the following machine learning methods were tested: logistic regression, support vector machine, random forest, k-nearest neighbor, decision tree;
  • churn probability for each client was calculated.

Data was downloaded from the website kaggle.com

Description of the churn set
  • customerID - customer identification number
  • gender - gender
  • SeniorCitizen - is it an elderly person
  • Partner - does he have a partner
  • Dependents - does it have any dependencies
  • tenure - how many months are there already with this operator
  • PhoneService - does it have a telephone?
  • MultipleLines - Whether it has multiple phone numbers
  • InternetService - does it have internet
  • OnlineSecurity - Does it have an online security service
  • OnlineBackup - Does it have an online data backup service
  • DeviceProtection - Whether it has a phone security service
  • TechSupport - does it have a technical support service
  • StreamingTV - does it have a TV streaming option
  • StreamingMovies - Does it have a streaming movie option
  • Contract - whether it has a fixed-term (one or 2-year) or an indefinite (month-to-month) contract
  • PaperlessBilling - e-invoice
  • PaymentMethod - payment method
  • MonthlyCharges - monthly fees
  • TotalCharges - total amount of fees
  • churn - whether the client has left or not

Machine learning algorithms used and their prediction accuracy

Model Score
Logistic Regression 80.03
Support Vector Machine 79.37
Random Forest 78.75
K-Nearest Neighbor 76.43
Decision Tree 72.36

telco_customer_churn_modelling's People

Contributors

blondeincode 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.