Betah
AI-powered HR decision support system that predicts employee attrition, explains it with SHAP, and suggests retention actions.
- Role
- AI & Full-Stack Developer
- Year
- 2026
- Status
- Live demo
The problem
HR teams usually learn an employee wants to leave when the resignation letter arrives, and risk scores alone do not say why or what to do about it.
What I built
Betah predicts attrition risk per employee, shows the drivers behind each score with SHAP, and pairs it with a retention assistant that recommends actions based on company policy.
Betah helps HR managers spot employees at risk of resigning before it happens. An XGBoost model predicts attrition risk, SHAP explains the factors behind each prediction, and a LangGraph RAG agent answers questions and recommends retention actions grounded in HR policy documents. Everything comes together in a Next.js executive dashboard.
Features
- 01Analytics overview with department attrition breakdown
- 02Filterable and sortable employee risk table
- 03Per-employee SHAP risk drivers and retention anchors
- 04Candidate attrition risk simulation
- 05Embedded HR retention AI assistant
Under the hood
- Tuned XGBoost classifier with SHAP TreeExplainer
- LangGraph agent with a ChromaDB RAG store of HR policy documents
- FastAPI backend with Pydantic v2 and MLflow experiment tracking
- Next.js 16 dashboard with React 19 and Tailwind CSS
Result
- Explainable attrition predictions instead of a bare risk score
- Retention advice grounded in policy documents
- Live demo on Vercel