Giter Club home page Giter Club logo

totvs_solution's Introduction

TOTVS_solution

churn prediction using simple sklearn algorithms

My answers to questions: Question 1

  1. Predicting customer churn using suprevised learning algoritms - seems to be the main purpose of this dataset
  2. Customer segmentation and LTV analysis
  3. Segmentation of sellers by unit price/total price/quantity/loyality

Question 2 Churn analysis seems to be the most important and valuable for the business. Building ML models, which predict customer churcn by their behaviour can help us to detect loyal clients and build an ongoing relationships with them for a long time. Also turn advertising to clients with high churn probability.

Question 3 see .ipynb file Validated accuracy for non-churn clients detection is 99,89% For churn clients 98,96% This was achieved by using Gradient Boosting classifier from sklearn package

Question 4 Dataset contains many categorial variables with simple encoding. So, application of logistic regression and knn algorithms failed to make predictive models. Practically, tree algorithms (as decision trees, random forest and Gradient Boosting) showed their efficiency with so-called "dummy encoded" variables. Also tree-containing algoritms have at least 2 tunable hyperparameters. We choosed maximum tree depth and leaf nodes to tune.

If I had more time, I would continue tuning of hyperparameters in GBC algorithm. But I also need more data :)

totvs_solution's People

Contributors

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