GithubHelp home page GithubHelp logo

gsharma14 / customer-issue-prediction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alisaahy/customer-issue-prediction

1.0 0.0 0.0 259.58 MB

An end to end app to predict what issue customers have being faced with by analyzing customer complaints.

License: MIT License

Jupyter Notebook 99.34% Python 0.66%

customer-issue-prediction's Introduction

Customer Issue Prediction APP

An end to end app to predict what issue customers have been faced with by analyzing customer complaints.

App Overview

- The app works like:

The customer can type in their complaints and select what product they use and what state are they come from, and then we can predict what issue those customers have been faced with. Based on this prediction, we can assign a customer service manager who are responsible for the corresponding issue for this case. In this way, this app can largely help improve customer satisfaction, and reduce labor force cost for screening customer complaints manually.

Project Overview

This project used a subset of the Consumer Complaint Database from Consumer Financial Protection Bureau.

The Customer Issue Prediction Dash App is an end-to-end customer service application that utilizes machine learning and NLP to predict the issue customers have been faced with by analyzing complaints they gave in the industry. This application can help financial institue improve their customer satisfaction and reduce labor cost in customer service.

This repository consists of 5 main components:

EDA dashboard: A Tableau dashboard analyzing all the customer feedback data, including products type, issues type, some geometry information, etc.

Wordcount visualization: Visualized customer complaints text in the dataset using word cloud.

Target label merge: There're more than 150 types of issues in the dataset. Some of them have nearly the same issue name and some of them contain very similar complaints text. To improve accuracy in the future text classification model, I merged some issues manually, as well as using Doc2Vec model. After this step, I kept 63 final issues for model building.

Text classification model: This part include text cleaning, sentiment analysis and pipeline development. I trained the machine learning model on data including both text features (customer analysis), and non-text features (product, state and sentiment score) and used it to predict customer issues.

Dash application: Model deployment code, building an end to end app with Dash.

Methods Used

  • Machine Learning
  • Natural Language Processing
  • Gensim (Doc2Vec)
  • Sentiment Analysis (VaderSentiment)
  • TF-IDF
  • Linear SVC
  • etc.

Technologies

  • Dash
  • Python
  • Pandas
  • Scikit-learn
  • Gensim
  • etc.

Aplication

You can run the dash application locally by downloading the dash app code and the model pickle file and using the following command in your terminal:

python dash_app.py

customer-issue-prediction's People

Contributors

alisaahy avatar

Stargazers

Gopalika Sharma 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.