Skip to content

Reviewed unstructured data to understand the patterns and natural categories that the data fits into. Made predictions about the natural categories of multiple types in a dataset, then checked these predictions against the result of unsupervised analysis.

Notifications You must be signed in to change notification settings

sanjeevai/customer_segments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Creating Customer Segments

Project Overview

In this project I applied unsupervised learning techniques on product spending data collected for customers of a wholesale distributor in Lisbon, Portugal to identify customer segments hidden in the data. I first explored the data by selecting a small subset to sample and determine if any product categories highly correlate with one another. Afterwards, I preprocessed the data by scaling each product category and then identifying (and removing) unwanted outliers. With the good, clean customer spending data, I applied PCA transformations to the data and implement clustering algorithms to segment the transformed customer data. Finally, I compare the segmentation found with an additional labeling and considered ways this information could assist the wholesale distributor with future service changes.

Description

This project is designed to give a hands-on experience with unsupervised learning and work towards developing conclusions for a potential client on a real-world dataset. Many companies today collect vast amounts of data on customers and clientele, and have a strong desire to understand the meaningful relationships hidden in their customer base. Being equipped with this information can assist a company engineer future products and services that best satisfy the demands or needs of their customers.

Things I have learned by completing this project:

How to apply preprocessing techniques such as feature scaling and outlier detection.

How to interpret data points that have been scaled, transformed, or reduced from PCA.

How to analyze PCA dimensions and construct a new feature space.

How to optimally cluster a set of data to find hidden patterns in a dataset.

How to assess information given by cluster data and use it in a meaningful way.

Software and Libraries

This project uses the following software and Python libraries:

  • Python 2.7
  • NumPy
  • pandas
  • scikit-learn(v0.17)
  • matplotlib

This project contains three files:

  • customer_segments.ipynb: This is the main file where I performed my work on the project.
  • customers.csv: The project dataset.
  • visuals.py: This Python script provides supplementary visualizations for the project. Do not modify.

About

Reviewed unstructured data to understand the patterns and natural categories that the data fits into. Made predictions about the natural categories of multiple types in a dataset, then checked these predictions against the result of unsupervised analysis.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published