Coding Exercise: Classify and Cluster Customer Data
Use scikit-learn to find patterns in real-world data.
We'll cover the following
Scenerio
Imagine you’re a data scientist at an e-commerce company. You’re given customer data and need to:
Build a KNN classifier to predict customer segments.
Use K-means clustering to group customers.
Visualize both results using scatter plots.
Dataset
Let’s have a look at a few entries of the dataset you will be working on:
Get hands-on with 1400+ tech skills courses.