IdeaCredIdeaCred

galafis/Customer-Behavior-Analytics

60

Analise de comportamento de clientes com segmentacao RFM (KMeans), previsao de churn (Random Forest) e dashboard Plotly. Python + R + Flask API.

What's novel

Analise de comportamento de clientes com segmentacao RFM (KMeans), previsao de churn (Random Forest) e dashboard Plotly. Python + R + Flask API.

Code Analysis

9 files read · 4 rounds

Performs RFM-based customer segmentation with KMeans, churn prediction with Random Forest, and generates Plotly dashboards from a CSV or synthetic data, with a thin Flask API for data queries and an R script offering hierarchical clustering and RFM scoring.

Strengths

The R script demonstrates more sophisticated analysis (hierarchical clustering, named RFM segments, PCA visualization) than the Python code, and the Jupyter notebook shows good defensive coding with schema validation and clear synthetic-data labeling. The project is complete and runnable end-to-end with a coherent pipeline.

Weaknesses

The Python implementation is a straightforward sklearn wrapper with a crude CLV formula, no data validation beyond file existence, and the Flask server is disconnected from the analytics engine. Tests only verify that methods return non-None objects without checking correctness, and the Dockerfile references a non-existent entry point (src/main.py).

Score Breakdown

Innovation
3 (25%)
Craft
60 (35%)
Traction
6 (15%)
Scope
60 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+0
Concept Novelty+0

Craft

Ci-2
Tests+5
Polish+1
Releases+0
Has License+5
Code Quality+15
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+4
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+7
Languages+5
Subsystems+5
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+8
Readme Code Match+3
Architecture Depth+5
Implementation Depth+8

Evidence

Commits

30

Contributors

1

Files

12

Active weeks

8

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT