Building the baseline approach
In this section, we will start implementing the basic model for the customer segmentation application. Furthermore, we will improve this baseline approach. While implementing, we will cover the necessary concepts, technical aspects, and significance of performing that particular step. You can find the code for the customer-segmentation application at this GitHub link: https://github.com/jalajthanaki/Customer_segmentation
The code related to this chapter is given in a single iPython notebook. You can access the notebook using this GitHub link: https://github.com/jalajthanaki/Customer_segmentation/blob/master/Cust_segmentation_online_retail.ipynb.
Refer to the code given on GitHub because it will help you understand things better. Now let's begin the implementation!
Implementing the baseline approach
In order to implement the customer segmentation model, our implementation will have the following steps:
Data preparation
Exploratory data analysis (EDA)
Generating...