Customer Analytics in Python
Customer Analytics in Python is where marketing and data science meet. Data science and marketing are two of the key driving forces that help companies create value and stay on top in today’s fast-paced economy. This course is packed with knowledge, and includes sections on customer and purchase analytics, as well as a deep-learning model, all implemented in Python.
Sign up to
preview the program
Create a free account and start learning data science today.create free account
Our graduates work at exciting places:
A Brief Marketing Introduction
In this course, you’ll get to learn theory, as well as acquire practical skills, applicable to a variety of customer analytics areas. You’ll get to meet your instructors and learn about the topics we’ll discuss during the course. This is the place where we’ll discuss the marketing fundamentals, such as the STP framework and Marketing Mix. They will provide us with motivation as to why we take advantage of certain models in the following sections of the course.
Setting up the environment
We will show you how to install the Jupyter Notebook (the environment we will use to code in Python) and how to import the relevant libraries. Because this course is based in Python, we will be working with several popular packages: NumPy, SciPy and scikit-learn.
We will begin with customer analytics, which is a major part of the course. We will perform some initial exploration of our segmentation data set. Using Python, we’ll visualize our data and standardize it to aid in future analysis.
Here, we discuss the theory behind hierarchical and flat clustering. Throughout the course we’ll implement both approaches. In this section, we’ll focus on hierarchical clustering and use it to determine the number of clusters in our data set.
We continue with segmentation, this time focusing on a flat clustering technique, namely K-means. We’ll divide our customers into clusters using K-means and determine the customer segments. This is a crucial part of the customer analysis, as it is where we discover the most important characteristics, which define our customer groups.
K-means Clustering based on Principal Components Analysis
In our final section of customer analytics, we’ll introduce a dimensionality reduction algorithm: Principal Components Analysis (PCA). We’ll combine K-means and PCA to obtain even better clustering results and gain insight about our customers. In addition, we’ll perform the model deployment, which we’ll need in the following sections of our course.
It’s time for purchase analytics. This is the second major part of the course. We’ll examine our purchase data set and see similarities and differences with the segmentation data. We’ll analyze and preprocess our data and ultimately segment the purchase customers into groups.
Descriptive Analyses by Segments
We’ll analyze our customers by filtering our data by brand and segment, and we’ll visualize the findings. In addition, we’ll compute the revenues by brand and total revenues for each segment. Through the descriptive analysis, we will form our hypotheses about our segments, thus ultimately setting the ground for subsequent modeling.
Purchase Incidence Model
We’re ready to create our first prediction model. We’ll use logistic regression and model purchase probability of our clients. We’ll compute the price elasticity of purchase probability and use it to gain insight into our average customers, as well as each of our customer segments. Furthermore, we’ll explore the effects of promotion on our clients’ purchase behavior.
Brand Choice Model
Our goal is to understand the brand preferences of our clients. We’ll imagine we work for one of the brands and create marketing strategies for targeting customers to attract them to our own brand. We’ll compute price elasticity of brand choice for our brand, as well as calculate cross price elasticities for a competitor brand to try to stay ahead of the competition.
Purchase Quantity Model
We conclude the purchase analytics part of the course with a model for purchase quantity. Here, we’ll use linear regression to determine how many units of our product the customer likes to buy. We’ll examine the effects of promotion on purchase quantity and determine price elasticity of demand.
Deep Learning for Conversion Prediction
Machine learning and artificial intelligence are at the forefront of the data science revolution. We will take advantage of the TensorFlow 2.0 framework to create a feedforward neural network. This is the part where we will build a black-box model, essentially helping us reach 90%+ accuracy in our predictions about the future behavior of our customers.
This course is part of Module 4 of the 365 Data Science Program. The complete training consists of four modules, each building upon your knowledge from the previous one. Module 4 is focused on developing a specialized, industry-relevant skill set, and students are encouraged to complete Modules 1, 2, and 3 before they start this part of the training. Here, you will learn how to perform Credit Risk Modeling for banks, Customer Analytics for retail or other commercial companies, and Time Series Analysis for finance and stock data.See All Modules
Why Choose the 365 Data Science Program?
Real-life project and data. Solve them on your own computer as you would in the office.
Our expert instructors are happy to help. Post a question and get a personal answer by one of our instructors.
Earn a verifiable certificate after each completed course. Celebrate your successes and share your progress with your professional network!
Trust the other 500,000 students
The course is in-depth and is delivered at a steady pace with eye catching visuals. The instructors go through all the basics really well. They try not to over-simplify the material, you get a good sense аof how deep Data Science is in the course. Great job!!!
This course is amazing! After watching the video carefully and doing all the exercises, I am even capable of having discussions with Machine learning major Master’s students! High standard course with reasonable pricing.
Very clear and in-depth explanation of data science and how all the inter-related concepts apply in real life business environment. Absolutely great for beginners! Best data science course I have come across so far!
I would highly recommend the course to any beginner who wants to venture into the world of Data Science. The concepts are very well explained and there is an emphasis on practical application which really helps create a better understanding of the concepts.