Git Product home page Git Product logo

customer-satisfaction-prediction's Introduction

Problem definition

From frontline support teams to C-suites, customer satisfaction is a key measure of success. Unhappy customers don't stick around. What's more, unhappy customers rarely voice their dissatisfaction before leaving.

Santander Bank is asking Kagglers to help them identify dissatisfied customers early in their relationship. Doing so would allow Santander to take proactive steps to improve a customer's happiness before it's too late.

In this competition, you'll work with hundreds of anonymized features to predict if a customer is satisfied or dissatisfied with their banking experience.

Data description

train.csv - the training set including the target test.csv - the test set without the target sample_submission.csv - a sample submission file in the correct format

Script strategy

Exploratory-Analysis-1.ipynb:

The train and test datasets are composed by 370 columns, in addition to the target variable. The great amount of possible predictive variables need to be handled in a suitable way to fit the predictive model requirements. This problem was turned around on this scrip by performing the following steps:

  • Columns where the standard deviation is null were removed (around 103 columns)
  • Columns where the correlation to the target variable is less than 0.18 (person method) were removed to be trated separately
  • A PCA technique was used to turn the low correlation variables into 4 componets, with an explained variance ratio of 0.99

The outcome of this strategy turned the initial 370 columns into 14, which is more likely to be properly handled by the predictive model.

In addition, the data is normilized.

Exploratory-Analysis-2.ipynb:

There new variables were created to enhance the predictions:

-var15_levels - reflecting the correlation to the target variable on var15 -zeros - number of zeros for each row (ID) -zeros_level - reflecting the correlation of the "zeros" to the target variable

var15 var15_level zeros zeros_level

Predictive-Model.ipynb:

Gradient Boosting Classifier is used for the predictive model.

customer-satisfaction-prediction's People

Contributors

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