How damoko2004/ce-que-vos-donn-es-savent-de-vos-clients works
This is a companion code repository for a book on customer analytics, machine learning, generative AI, and decision-making—not a single deployed application. A reader regenerates synthetic datasets, then runs ordered Python or R chapter blocks to explore data preparation, analysis, modeling, evaluation, and AI applications. The map groups the Python examples by capability and includes the minimal runtime support in socle.py. Many branches are represented by chapter directories because their individual implementations were not sampled; the documented chapter coverage should not be read as a verified runtime call graph.
Main entry points: generer.py Dataset generator · PY-AXA-02_generation_du_jeu_de_donnees_fil_rouge.py Red-thread generator · PY-C03-07_orchestration_du_flux_complet.py ETL orchestration · PY-C04-01_fiche_de_sante.py Client health
Components 24
Synthetic data
- Dataset generator
data/generer.py - Red-thread generator
python/annexes/PY-AXA-02_generation_du_jeu_de_donnees_fil_rouge.py
Data preparation
- ETL orchestration
python/chapitre_03/PY-C03-07_orchestration_du_flux_complet.py - Source contracts
python/chapitre_03 - Quality barrier
python/chapitre_03/PY-C03-06_la_barriere_et_sa_trace.py
Customer analytics
- Client health
python/chapitre_04/PY-C04-01_fiche_de_sante.py - RFM segments
python/chapitre_07/PY-C07-01_segmentation_rfm_par_seuils_metier.py - Customer PCA
python/chapitre_08/PY-C08-01_acp_normee_sur_clients_360.py - Customer clusters
python/chapitre_09/PY-C09-01_k_means_avec_choix_de_k.py - Segment profiles
python/chapitre_11/PY-C11-01_caracterisation_des_segments.py
Prediction and decisions
- Supervised models
python/chapitre_14 - Temporal validation
python/chapitre_16/PY-C16-01_validation_temporelle.py - Churn scoring
python/chapitre_18/PY-C18-01_indice_de_desengagement.py - Recommendations
python/chapitre_22/PY-C22-01_filtrage_collaboratif_centre_objet.py - Model evaluation
python/chapitre_24/PY-C24-01_le_tableau_de_bord_d_evaluation.py
Text, media, agents
- Text analytics
python/chapitre_32 - Web sessions
python/chapitre_33/PY-C33-01_nettoyage_et_sessionnisation.py - Image models
python/chapitre_34/PY-C34-01_extraire_une_representation_entrainer_une_tete_leger.py - Document retrieval
python/chapitre_36 - Contextual bandit
python/chapitre_37/PY-C37-01_bandit_contextuel_par_echantillonnage_de_thompson.py - Guarded agent workflow
python/chapitre_40/PY-C40-01_orchestration_en_graphe_d_etats_avec_garde_fous.py - Assistant service
python/chapitre_39/PY-C39-02_service_expose_instrumente_des_la_premiere_ligne.py
Runtime support
- Minimal runtime support
socle.py
Other components
- Reader
Connections 21
- Reader → Dataset generator: runs to generate
README.md - Reader → Red-thread generator: runs chapter blocks
README.md - Reader → ETL orchestration: runs chapter blocks
README.md - Reader → Client health: runs chapter blocks
README.md - Reader → RFM segments: runs chapter blocks
README.md - Reader → Customer PCA: runs chapter blocks
README.md - Reader → Customer clusters: runs chapter blocks
README.md - Reader → Segment profiles: runs chapter blocks
README.md - Reader → Supervised models: runs chapter blocks
README.md - Reader → Temporal validation: runs chapter blocks
README.md - Reader → Churn scoring: runs chapter blocks
README.md - Reader → Recommendations: runs chapter blocks
README.md - Reader → Model evaluation: runs chapter blocks
README.md - Reader → Text analytics: runs chapter blocks
README.md - Reader → Web sessions: runs chapter blocks
README.md - Reader → Image models: runs chapter blocks
README.md - Reader → Document retrieval: runs chapter blocks
README.md - Reader → Contextual bandit: runs chapter blocks
README.md - Reader → Guarded agent workflow: runs chapter blocks
README.md - Reader → Assistant service: runs chapter blocks
README.md - Reader → Minimal runtime support: uses runtime support
README.md