Churn Prediction using Deep Neural Network

Churn Prediction using Deep Neural Network


Customer churn is essential in business as getting new customers requires more efforts and investment. This business logic is also applicable for retaining other business stake holders like employees, suppliers, investors etc. Whether it is getting new clients, hiring new employees, sourcing new suppliers or getting new investors, they all involve additional costs and investments. This article is about training a deep neural network to predict purchase behavior of customers for an application selling digital books.

Here is the brief overview of the pipeline -

No alt text provided for this image
No alt text provided for this image

The image on the right describes the architecture of the model. The model has two hidden layers, with relu as activation function, adam used as optimizer, trained with batch size 100 over 100 epochs.

Input variables here include average number of books purchased, sum of books purchased, average price paid, sum of price paid, review (boolean, given or not), review(int value max 10), total pages read, completion percent (value between 0 and 1), number of support requests, number of days last visit since day of purchase. The prediction is of how the customer will convert within a span of 6 months, based on customer engagement activity of past 2 years.

The model can be used in two ways, a) to understand the probability of a customer converting, b) predict whether they buy (1) or not (0).


Please share your feedback and suggestions in the comments section.

Happy learning!


Khushboo Gehi, MSc

Doctoral Researcher at SnT, Interdisciplinary Center for Security, Reliability and Trust

3 年

Theepika Shanthakumar, this will be useful for your project.

要查看或添加评论,请登录

Khushboo Gehi, MSc的更多文章

  • Building Smart Contracts with Rust

    Building Smart Contracts with Rust

    Smart contracts are event-driven programs stored on a blockchain that trigger action when certain conditions are met…

  • Privacy Enhancement using Federated Learning & Blockchain

    Privacy Enhancement using Federated Learning & Blockchain

    Machine learning pipelines executed within cloud infrastructure, are computationally intensive & use specialized…

  • Hierarchical & K-means Clustering

    Hierarchical & K-means Clustering

    Hierarchical clustering is a good way to segment data. It provides a tree structure to the data based on similarities.

  • Extracting Text from Image/PDF

    Extracting Text from Image/PDF

    PDF or portable document format is a complex structure. Since the it is binary structure, the raw text is difficult to…

  • Covid Vaccine Response Agent

    Covid Vaccine Response Agent

    This article is about a conversational agent trained to respond to frequently asked questions about covid-19 vaccines…

  • Scraping Data Off the Web

    Scraping Data Off the Web

    Web scrapping is a process in which data is extracted from websites for various purposes like marketing, research, data…

  • A not-so-perfect Chatbot

    A not-so-perfect Chatbot

    Chatbots are almost everywhere, most of us have interacted with at least one chatbot by now through voice/text…

  • Basic Face Detection

    Basic Face Detection

    Facial detection and recognition are commonly applied in security bio-metrics, social media, personal devices,etc…

  • Time Series Analysis using CNNs

    Time Series Analysis using CNNs

    Time series analysis can be implemented in multiple ways including linear models in machine learning, recurrent neural…

  • Using LSTM To Navigate Robots

    Using LSTM To Navigate Robots

    Long Short-Term Memory networks or LSTMs are a type of Recurrent Neural Networks that reuse the output of a previous…

社区洞察

其他会员也浏览了