Churn risk scorer

The logistic regression trained in this repository, exported to JSON and run in your browser. Nothing is sent anywhere — the maths is a dot product, and a parity test checks it reproduces the Python model to 1e-9.

Customer

Predicted risk

—
probability of churn
0%decision threshold 0.56100%

What is driving it

Bars show each feature's contribution to the log-odds: red pushes the customer towards leaving, green towards staying. Above the tuned threshold of 0.56 the customer would enter the retention campaign.