• Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    Jupyter Notebook
  • Created almost 4 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Customer Retention

🔴 Detailed Session on EDA:

Alt text

🔴 One of my previous Sessions on EDA, Model Building & Model Deployment:

Alt text

🔴 What is Customer Churning ?

Customer Retention

🔴 What are the different Churn Scenarios ?

Churn Scenarios

🔴 Decision Cycle of a Subscriber ?

Decision Cycle

🔴 What are the different Churn Segments ?

Churn Segments

🔴 Solution Overview

Solution

In this repository, we have performed the end to end Exploratory Data Analysis, and idenfitied the characteristics of the customers that are more likely to churn, and I have used them wisely to create a model, and lately, have deployed the model.

🟢 For EDA, please refer to : Churn Analysis - EDA.ipynb

🟢 For Model Building, please refer to: Churn Analysis - Model Building.ipynb

🟢 For Model Deployment, please refer to app.py

🔵 Creating the flask API

app = Flask("__name__")

The loadPage method calls our home.html.

@app.route("/")
def loadPage():
	return render_template('home.html', query="")

The predict method is our POST method, which is basically called when we pass all the inputs from our front end and click SUBMIT.

@app.route("/", methods=['POST'])
def predict():

The run() method of Flask class runs the application on the local development server.

app.run()

Yay, our model is ready, let’s test our bot. The above given Python script is executed from Python shell.

Go to Anaconda Prompt, and run the below query.

python app.py

Below message in Python shell is seen, which indicates that our App is now hosted at http://127.0.0.1:5000/ or localhost:5000

* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

HERE'S HOW OUR FRONTEND LOOKS LIKE:

Customer Retention

More Repositories

1

EDA

Jupyter Notebook
50
star
2

ChurnAnalysisProject-PowerBI

Jupyter Notebook
41
star
3

Sentiment-Analysis

Jupyter Notebook
20
star
4

MarketSegmentation

Jupyter Notebook
18
star
5

MistralLLM-Chatbot

Jupyter Notebook
18
star
6

Alexa

Python
17
star
7

PythonforDS

Jupyter Notebook
15
star
8

EDAforHealthcare

Jupyter Notebook
14
star
9

HRAnalytics-Project

Jupyter Notebook
14
star
10

FBProphet

Jupyter Notebook
12
star
11

Cryptocurrency-BTC-Data-Analysis

Jupyter Notebook
12
star
12

Alexa-FlaskAPI

Python
11
star
13

Guide-on-Time-Series-Analysis-using-ARIMA-LSTM-fbProphet

Time Series Forecasting Problem
Python
11
star
14

FaceMaskDetection

Python
9
star
15

Resume-Parser-OpenAI

HTML
9
star
16

CyberSecurityDashboard

7
star
17

SQL_for_DataScience

Jupyter Notebook
7
star
18

Power-BI-Training-Session

7
star
19

Tableau-HR-Analytics

Jupyter Notebook
7
star
20

Stats

Jupyter Notebook
6
star
21

EDA_CreditCardAnalysis

6
star
22

HateCrime-DataAnalysis-PowerBI

Jupyter Notebook
6
star
23

Resume-Templates

5
star
24

ForeignExchangeForecasting

Python
5
star
25

RASAChatbot

5
star
26

PBI-DAX

4
star
27

Power-BI-Tutorial

4
star
28

PersonalizedChatBot

HTML
4
star
29

FaceBlurOpenCV

Jupyter Notebook
4
star
30

AutoWave

Python
4
star
31

TipsforFreshers_ResumeWriting

4
star
32

SQL-Training-Session

4
star
33

PowerBI-MoneyHeist

4
star
34

PowerBIJupyter

Jupyter Notebook
4
star
35

pdfGPT

HTML
4
star
36

TimeSeriesPowerBI

3
star
37

DataBalancingTechniques

Jupyter Notebook
3
star
38

YouTubeVideoDownloaderFlask

HTML
3
star
39

EnsembleLearning

Jupyter Notebook
3
star
40

TableauDashboard

3
star
41

OpenEDAWinners

3
star
42

TimeSeriesAnalysis

HTML
3
star
43

SpellChecker

HTML
3
star
44

3Sigma-Based-Anomaly-Detection

3 Sigma based Anomaly Detection
Python
3
star
45

Text-Emotion-Classifier

Jupyter Notebook
2
star
46

MLClasses

Jupyter Notebook
2
star
47

ResearchBOT

Jupyter Notebook
2
star
48

Insurance-FraudDetection

Jupyter Notebook
2
star
49

pik1989

2
star
50

BreastCancerPred_AWS

HTML
2
star
51

RecSys_ShopBonsai

Recommender system
Python
2
star
52

Prophet

Python
2
star
53

JoinsinPowerBI

2
star
54

Credit-Card-EDA

2
star
55

PBI-EcommerceDashboard

2
star
56

ModelDeploymentFlask

2
star
57

Dimensionality-Reduction-Techniques

Jupyter Notebook
2
star
58

Cancer-Text-Classification

Jupyter Notebook
2
star
59

BreastCancerPrediction_Azure

HTML
2
star
60

DisneyPBI

2
star
61

WebScaping-1mg

Jupyter Notebook
2
star
62

Computer-Vision

Jupyter Notebook
2
star
63

X-Ray-Image-classification

Jupyter Notebook
2
star
64

Cosine-Similarity-Chatbot

Jupyter Notebook
2
star
65

AnomalyDetectionPowerBI

2
star
66

HyperParameterOptimization

Jupyter Notebook
2
star
67

HypothesisTesting

2
star
68

PyWEBIO

Python
2
star
69

ImageClassification

Jupyter Notebook
1
star
70

TimeSeries

TimeSeries forecasting using Prophet
Python
1
star
71

HarryPotterPowerBIDashboard

1
star
72

SweetViz

1
star
73

PythonTutorial

Jupyter Notebook
1
star
74

Calculator

JavaScript
1
star
75

Pose

1
star
76

Outliers

Outliers
1
star
77

Freshers-Resume-Tips

1
star
78

LanguageTranslator

Python
1
star
79

Churn

Python
1
star
80

TextMatching

Python
1
star
81

HalvingGridSearchCV

1
star
82

Insurance-ClaimPrediction

Jupyter Notebook
1
star
83

RecSystem

Songs Recommendation System
Python
1
star
84

JobsHK

1
star
85

Clustering

Python
1
star
86

Climate-change-chatbot

1
star
87

LinearRegression

Jupyter Notebook
1
star
88

PolicyRecommendation-Insurance

Jupyter Notebook
1
star
89

TimeSeriesForecastingXGBoost

Jupyter Notebook
1
star
90

Customer-Analysis

Jupyter Notebook
1
star
91

SOMs

Python
1
star
92

NaturalLanguageProcessing

Jupyter Notebook
1
star
93

Convolutional-Neural-Networks

Jupyter Notebook
1
star
94

BreastCancerPrediction_Heroku

HTML
1
star
95

chatScholarGPT3

HTML
1
star