GithubHelp home page GithubHelp logo

dgquintero / data-science-with-r Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rspawar/data-science-with-r

0.0 0.0 0.0 64.27 MB

Market Basket Analysis

License: MIT License

HTML 99.69% R 0.30% TeX 0.01%

data-science-with-r's Introduction

Customer Behavioural Analytics in the Retail sector

Motivation

A customer is a key-centric factor for any business to be successful. Conventional wisdom tells us that the cost of retaining an existing customer is far less than acquiring a new one. In order that a business has a sustainable growth, the retention of its old customer base and expansion of the new customer base is very critical. This demands from a business to understand the behaviour of its customers in relation to the business. Therefore obtaining a 360° view of its customers is crucial for a business looking for a competitive edge in the market. In such a scenario, Customer Behavioural Analytics plays an important role in leveraging data analytics to find meaningful behavioural patterns in the customer-specific business data.

Synopsis

This project aims to understand the purchase behaviour of customers in the retail sector specifically of an Italian retail distribution company Coop in a single Italian city. Decoding the consumer behaviour is based on understanding how consumers make purchase decisions and what factors influence those decisions. This project also discovers existence of dependencies between customers, products and shops to highlight further insights about their behaviour. These meaningful insights will further help a business to implement strategies leading to an increased revenue through customer satisfaction.

Overview of the Input Dataset

The dataset used is Supermarket aggr.Customer [1]. The dataset contains the retail market data of one of the largest Italian retail distribution company called Coop for a single Italian city.
The Supermarket aggr.Customer dataset used for the analysis contains data aggregated from customer and information from shops [2] [3] and pivoted to new columns. The dataset thus contains 40 features with 60,366 instances and is approximately 14.0 MB in size.

Installation and Run

  1. Install the following packages in Rstudio
   install.packages("pacman")    
   pacman::p_load(char = c(
   "tidyverse",
   "DataExplorer",
   "skimr",
   "ggcorrplot",
   "dplyr",
   "ggplot2",
   "RColorBrewer",
   "modelr",
   "gridExtra",
   "plotly",
   "readr",
   "caret",
   "randomForest",
   "e1071",
   "factoextra",
   "cluster",
   "metricsgraphics",
   "rpart",
   "rpart.plot",
   ))
  1. Open and Run the Customer_Behavioural_Analytics_in_the_Retail_sector.rmd file in Rstudio

  2. Select Knit to html_document to generate the detailed Analysis Report Customer_Behavioural_Analytics_in_the_Retail_sector.html

Output

The output is a detailed Analysis Report rendered as a HTML file Customer_Behavioural_Analytics_in_the_Retail_sector.html.

Click here to view the HTML file directly in the browser.

Links

Project Website: https://sites.google.com/view/customerbehaviouralanalytics/home

Project Screencast: https://youtu.be/vICvLamX-hA

Project Presentation: https://github.com/Rspawar/Data-Science-with-R/blob/master/Project%20Presentation/Customer_Behavioural_Analytics_in_the_Retail_Sector.pdf

Contributors

Rutuja Shivraj Pawar, Nadiia Honcharenko, Shivani Jadhav, Sumit Kundu

License

This project is licensed under the terms of the MIT license.

References

[1] https://bigml.com/user/czuriaga/gallery/dataset/5559c2c6200d5a6570000084

[2] Pennacchioli, D., Coscia, M., Rinzivillo, S., Pedreschi, D. and Giannotti, F., 2013, October. Explaining the product range effect in purchase data. In Big Data, 2013 IEEE International Conference on (pp. 648-656). IEEE.

[3] http://www.michelecoscia.com/?page_id=379

data-science-with-r's People

Contributors

hnadiia avatar rspawar avatar sj2812 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.