Skip to content

aniruddha-5/ml-churn-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customer Churn Prediction API 🚀

A lightweight Flask API to predict customer churn risk based on telecom data. Deployable via Render.com!

🔧 Usage

Send a POST request to /predict with customer details as JSON.

Example input:

{
        "SeniorCitizen": 0,
        "tenure": 5,
        "MonthlyCharges": 75.35,
        "TotalCharges": 350.75,
        "gender": "Male",
        "Partner": "No",
        "Dependents": "No",
        "PhoneService": "Yes",
        "MultipleLines": "No",
        "InternetService": "Fiber optic",
        "OnlineSecurity": "No",
        "OnlineBackup": "No",
        "DeviceProtection": "Yes",
        "TechSupport": "No",
        "StreamingTV": "Yes",
        "StreamingMovies": "Yes",
        "Contract": "Month-to-month",
        "PaperlessBilling": "Yes",
        "PaymentMethod": "Electronic check"
      }

About

ml-churn-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published