Coder Social home page Coder Social logo

t8rohman / ds_marketing_algorithms Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23.73 MB

Collection of Models and Algorithm to solve marketing and sales problem. Some of the functions here are plug-and-play, thus ready to use.

Jupyter Notebook 99.85% Python 0.15%

ds_marketing_algorithms's Introduction

Data Science for Marketing

Use this for a complete guide to do data science in marketing for analysis, from regression, to text analysis.

Collection of Models and Algorithm to solve marketing and sales problem. Some of the functions here are plug-and-play, thus ready to use (see ready-to-use_function folder). Most of the models here are built based on Data Science approach, thus the aim is more to make a prediction rather than to understand causality. But some of them also include the tools to explore explainability of a machine learning model. The models here include:

  1. Regression
  • Looking for the best model for regression
  • RFE (Recursive Feature Elimination) to know the most important variables
  1. Customer Segmentation
  • K-Means segmentation
  • Optimizing number of segments using elbow method etc.
  1. Product Recommendation (Cosine Similarity)
  • User-based collaborative filtering
  • Item-based collaborative filtering
  1. Text Analytics
  • Preprocessing the text using spacy
  • Text classification and explanation
  • Unsupervised topic modelling
  • Text summarization
  • Sentiment analysis
  • Word embeddings for semantic relationship

Updates! New Examples

  1. RFM Analysis (rfm_analysis)
  • Recency, Frequency, and Monetary segmentation of customers
  • Using simple method by dividing data into quintiles
  • And a more sophisticated algorithm using KMeans
  • Included with a custom-wrapped Python module for doing the analysis easier
  1. Cohort Analysis (cohort_analysis)
  • Categorizing customers based on a shared characteristic or event
  • Using a simple method by calculating cohort index
  • Then going with a more sophisticated way using Survival Analysis
  • Included with a custom-wrapper Python module for doing the cohort analysis using cohort index

Data Set

All the data set used for the example of these were obtained from Kaggle data set collection. The files are not listed here but instead, it is listed on each of the project file to make the citation of the data set more clear. The link to download the data set is also provided within the project.

ds_marketing_algorithms's People

Contributors

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