GithubHelp home page GithubHelp logo

isabella232 / keras-customer-churn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rstudio/keras-customer-churn

0.0 0.0 0.0 17.29 MB

Customer Churn Shiny Application

Home Page: https://jjallaire.shinyapps.io/keras-customer-churn/

R 100.00%

keras-customer-churn's Introduction

keras-customer-churn

This repository contains a Shiny application that demonstrates the use of the customer churn model described in the Using Deep Learning With Keras To Predict Customer Churn blog post.

Using the Application

The application is deployed online at https://jjallaire.shinyapps.io/keras-customer-churn/.

To run the application locally, clone the repository then:

rmarkdown::run("customer_churn.Rmd")

The shiny application has three tabs:

  1. Customer Scorecard---Analyzes a single customer at a time. The keras model is used to return the probability of customer churn. The app then recommends three strategies to mitigate churn risk:

    • Main Strategy - Incorporates tenure, contract type, key services, monthly charges to recommend offerings that reduce churn risk
    • Commercial Strategy - Incorporates specific services that the customer may be interested in
    • Financial Strategy - Incoporates payment method recommendations to reduce churn
  2. Churn Facets---Analyzes aggregate churn by various features including type of contract, revenue, tenure and internet service. Drop-box filters are available to subset the data and drill into important customer segments.

  3. Correlation Analysis---The correlation analysis shows the features that correlate to churn, which is important for a global perspective of understanding what affects churn.

Training the Model

Use the customer_churn.R script to train the model used by the application from scratch:

source("customer_churn.R")

keras-customer-churn's People

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.