Skip to content

Repository files navigation

💼 AI Customer Churn Analyst

An end-to-end AI-powered web application that predicts customer churn and provides clear, data-driven explanations using Machine Learning, SHAP, and LLM-based insights.


🚀 Features

🔮 Churn Prediction

  • Predicts whether a customer is likely to churn
  • Displays churn probability with a progress indicator

🧠 AI-Powered Explanation

  • Uses LLM (Groq API) to explain predictions in simple language
  • Ensures explanations are consistent and data-aware

🔍 SHAP Explainability

  • Visualizes feature impact on prediction
  • Highlights top contributing factors

💬 Interactive AI Chat

  • Ask follow-up questions about the prediction
  • Context-aware responses for better understanding

📊 Dashboard

  • Customer churn distribution
  • Age distribution
  • Balance vs churn analysis
  • Product usage impact

🛠️ Tech Stack

  • Frontend: Streamlit
  • Backend: Python
  • ML Model: Random Forest Classifier
  • Explainability: SHAP
  • AI Integration: Groq (LLM API)
  • Data Processing: Pandas, NumPy
  • Visualization: Matplotlib

📁 Project Structure

├── main.py

├── ai_explainer.py

├── model.pkl

├── Churn_Modelling.csv

├── requirements.txt

About

AI-powered customer churn prediction system with explainable AI (SHAP), interactive dashboard, and conversational insights using LLMs.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages