Customer segmentation by clustering
Segment a customer base into homogeneous groups using RFM and K-means with personalized marketing strategies for each segment.
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Je veux segmenter ma base de [NOMBRE_CLIENTS] clients pour personnaliser mes stratégies marketing. Données disponibles par client : [VARIABLES_DISPONIBLES] (ex : historique d'achats, fréquence, montant, catégories achetées, ancienneté, interactions support). Objectif : [OBJECTIF_SEGMENTATION] (ex : personnaliser les communications, identifier les clients à risque de churn, prioriser les actions commerciales) Réalise une segmentation complète : 1. Construis une analyse RFM (Récence, Fréquence, Montant) avec notation de 1 à 5 pour chaque dimension 2. Applique un algorithme de clustering K-means avec détermination du nombre optimal de clusters (méthode du coude, silhouette score) 3. Décris chaque segment obtenu avec ses caractéristiques clés et sa taille 4. Nomme chaque segment de façon évocatrice (ex : "Champions", "À risque", "Dormants") 5. Propose une stratégie marketing spécifique pour chaque segment 6. Calcule la valeur vie client (CLV) estimée par segment 7. Définis des KPIs pour mesurer l'efficacité des actions par segment Fournis le code Python complet (pandas, scikit-learn, matplotlib).
Why this prompt works
This prompt is powerful because it combines the classic RFM approach with algorithmic clustering, and goes all the way to concrete strategic implications. The request for complete code makes it immediately executable.
Use Cases
Expected Output
RFM analysis, named and described K-means segments, marketing strategies by segment, complete Python code.
Learn more
Check the full skill on Prompt Guide to master this technique from A to Z.
View on Prompt GuideGlossary Terms
Similar Prompts
Sales forecasting prediction
Build a sales forecasting model with comparison of methods, scenarios and confidence intervals.
Advanced Excel Formulas for Data Analysis
Provides advanced Excel formulas tailored to specific analysis problems with explanations and variants.
Stock and inventory data analysis
Complete inventory data analysis with ABC/XYZ classification, threshold calculation and working capital optimization.
Survey and questionnaire analysis
Complete analysis of survey results with statistics, segmentation, verbatim analysis and summary report.