From the course: Predictive Customer Analytics
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Use case: Determine customer propensity - Python Tutorial
From the course: Predictive Customer Analytics
Use case: Determine customer propensity
- [Instructor] In an earlier video, we discussed the use case predicting the buying propensity of customers who visit your website. Now we will implement that use case. When visitors come to your website, they start checking out different links as they explore the product, and what we want to do is in real time, based on these actions, predict the propensity and see whether we want to offer to chat or not. The notebook for this exercise is NB-02-05-predicting-prospect-propensity. The data file is Data-02-05-web-browsing-data.csv. Let's first look at the data file that we are talking about. This data file contains information about all past sessions by different users. It starts with a session ID. Then it has a number of Boolean variables, which will be our feature variables. These Boolean variables carry a 1 or a 0 based on the action performed by the visitor. A value of one for images means the visitor actually viewed various images of the product. A value of 1 for reviews means the…