Using the RFM model to segment customers based on their transactions. The model is created using python The RFM Model is a poplar model used to segment customers based on their transactions along 3 metrices/parameters.
R = Recency (When last a purxhase was made, i.e how soon was it)
F = Frequency (How often they make purchases)
M = Monetary Value (How much was spent)
The Model was applied on the Kaggle E-commerce Dataset.
API was built using this data and deployed temporarily on Heroku.
api.py - Python api file.