This is an unsupervised machine learning practice on customer segmentation.
To identify the customer segmentation in aviation company, analyze characteristics of different clusters and suggest business strategy to customer categories of different values.
This dataset has 62988 rows dan 23 columns. Column names themselves are self explanatory, however here I provide several columns explanation related to aviation industry:
- MEMBER_NO: ID Member
- FFP_DATE: Frequent Flyer Program Join Date
- FFP_TIER: Frequent Flyer Program Tier
- LOAD_TIME: Observed Time
- FLIGHT_COUNT: Customer Flight Count
- BP_SUM: Itinerary
- SUM_YR_1: Fare Revenue
- SUM_YR_2: Votes Prices
- SEG_KM_SUM: Total flight kilometers in observation window
- LAST_FLIGHT_DATE: Last Flight Date
- LAST_TO_END: The last flight time to the end of the observation window
- AVG_INTERVAL: Average flight interval
- MAX_INTERVAL: Maximum flight interval
- EXCHANGE_COUNT**: Exchange count
- avg_discount: Average discount rate
- Points_Sum: The number of points earned by the customer
- Points_NotFlight: Point not used by customers
I used LRFMC Model that is commonly used in aviation dataset. LRMFC stands for Length, Recency, Frequency, Monetary and Discount Factor. The details of each parameter is elaborated below:
- Length: the length of days between subscriber's first register day to observation time. A larger number means they have been a member for a longer time
- Recency: the length of a passenger's last consumption to observation window. A smaller number means they flew more recently
- Frequency: the passenger's consumption frequency within a certain period of time. A bigger number means they flew more frequently
- Monetary the average amount spent over a certain period of time. A bigger number means they spent more money
- Discount Factor: the average space discount factor for passengers traveling within a certain period of time A bigger number means they use discounts more After looking at the data, we use the columns below that related to the LRFMC features:
- Length: LOAD_TIME - FFP_DATE
- Recency: LAST_TO_END
- Frequency: FLIGHT_COUNT
- Monetary: SEG_KM_FM
- Customer Cost: avg_discount
K-means clustering method is used to classify the customer segmentation.
From elbow plot, there is a possibility that the optimum clusters are 4-6. After consider the business perspective, we decide that the suitable number of clusters are 5. The clusters are:
- Cluster 1 - The Hibernating Customers
- Cluster 2 - The Promising Customers
- Cluster 3 - The Loyal Customers
- Cluster 4 - The Old-Seasonal Customers
- Cluster 5 - The Cheap Customer
To see details on what are the characteristics of each cluster and recommendation for the company, make sure to check the notebook and power point files above.