Git Product home page Git Product logo

sjshimu / customer_segmentation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jalajthanaki/customer_segmentation

0.0 1.0 0.0 12.4 MB

Analysing the content of an E-commerce database that contains list of purchases. Based on the analysis, I develop a model that allows to anticipate the purchases that will be made by a new customer, during the following year from its first purchase.

Jupyter Notebook 100.00%

customer_segmentation's Introduction

Customer Segmentation

This notebook analyzing the content of an E-commerce database. Based on this analysis, We will predict segment for customer.

Dependencies

  • Python 2.7 or Python >3.4
  • pandas
  • numpy
  • scipy
  • scikit-learn
  • matplotlib
  • seaborn
  • nltk
  • wordcloud
  • jupyter notebook

Install dependencies

Pandas:           $ sudo pip install pandas
numpy:            $ sudo pip install numpy
scipy:            $ sudo pip install scipy
scikit-learn:     $ sudo pip install -U scikit-learn
matplotlib: 
                  $ sudo apt-get install libfreetype6-dev libpng-dev
                  $ sudo pip install matplotlib 
seaborn:          $ sudo pip install seaborn
jupyter notebook: $ sudo apt-get -y install ipython ipython-notebook
                  $ sudo -H pip install jupyter
nltk:              $ sudo pip install nltk
wordcloud:         $ sudo pip install wordcloud

Usage

  • Dataset path: ./input_data/
  • Run the code given in ipython notebook Cust_segmentation_online_retail.ipynb

Credit

Code credits for this code go to F. Daniel. I've merely created a wrapper and necessary changes to get people started.

customer_segmentation's People

Contributors

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