An end-to-end analytics platform built to help iGaming companies monitor player behaviour, identify VIP customers, predict churn, and support data-driven business decisions using SQL, Python, Machine Learning, and Power BI.
The AI Decision Intelligence Platform is a complete analytics solution that combines data engineering, SQL analytics, machine learning, and interactive dashboards into a single business intelligence platform.
The project simulates a real-world iGaming environment where thousands of player transactions are processed, analysed, and transformed into actionable business insights.
Key capabilities include:
- Interactive executive dashboards
- Advanced SQL analytics
- Customer segmentation using Machine Learning
- VIP player prediction
- Churn prediction
- Financial and gaming analytics
- Country-level performance monitoring
iGaming companies generate millions of betting transactions every day.
Business teams need quick answers to questions such as:
- Which players are likely to churn?
- Who are the next potential VIP customers?
- Which countries generate the highest revenue?
- What games perform best?
- Which customers require retention campaigns?
Traditional reporting answers what happened.
This platform answers what happened, why it happened, and what is likely to happen next.
The platform follows a modern analytics pipeline where raw data flows through multiple processing layers before reaching business users.
Raw CSV Data
ā
ā¼
SQLite Database
ā
ā¼
SQL Analytics Layer
ā
āāāāāāāāāāāāāāāā
ā¼ ā¼
Machine Learning Business KPIs
ā ā
āāāāāāāā¬āāāāāāāā
ā¼
Power BI Dashboard
ā
ā¼
Executive Decision Making (Decision Intelligence)
The platform is divided into five major components:
- Data Layer ā Stores raw player, betting, and transaction data.
- Database Layer ā SQLite database with optimized tables, views, and SQL queries.
- Analytics Layer ā Business SQL queries for revenue, player activity, country insights, and financial KPIs.
- Machine Learning Layer ā Customer segmentation, VIP prediction, and churn prediction models.
- Visualization Layer ā Interactive Power BI dashboards for business users.
| Category | Technology |
|---|---|
| Programming | Python |
| Database | SQLite |
| SQL | SQLite SQL |
| Machine Learning | Scikit-learn |
| Data Processing | Pandas, NumPy |
| Data Visualization | Power BI |
| Version Control | Git & GitHub |
| Documentation | Markdown |
ā Generated a realistic iGaming dataset containing players, bets, and financial transactions.
ā Designed and implemented a relational SQLite database.
ā Developed advanced SQL views and analytical business queries.
ā Built six interactive Power BI dashboard pages.
ā Engineered features for predictive analytics.
ā Built Machine Learning models for:
- Customer Segmentation
- VIP Prediction
- Churn Prediction
ā Combined AI predictions into a unified Power BI dashboard.
ā Structured the project using industry-standard software engineering practices.
AI-Decision-Intelligence-Platform-Lite
ā
āāā dashboards/
ā āāā AI_Decision_Intelligence_Platform.pbix
ā
āāā data/
ā āāā raw/
ā āāā processed/
ā āāā sample/
ā
āāā database/
ā āāā schema/
ā āāā sql/
ā āāā igaming_platform.db
ā
āāā docs/
ā āāā architecture/
ā āāā business-overview/
ā āāā requirements/
ā āāā project-journal/
ā
āāā ml/
ā āāā data/
ā āāā models/
ā āāā outputs/
ā āāā src/
ā
āāā screenshots/
ā
āāā src/
ā āāā data_generation/
ā āāā database/
ā
āāā README.md
āāā requirements.txt
- Executive KPI Dashboard
- Financial Analytics
- Gaming Analytics
- Country Performance Analysis
- Player Analytics
- Relational SQLite Database
- SQL Views
- Advanced Business Queries
- Performance Optimization
- Customer Segmentation (K-Means)
- VIP Player Prediction (Random Forest)
- Churn Prediction (Random Forest)
- Six Power BI Dashboard Pages
- AI Prediction Dashboard
- Country-Level Insights
- Financial KPIs
- Executive Dashboard
The Power BI report contains six interactive dashboards:
| Dashboard | Description |
|---|---|
| Executive Dashboard | High-level business KPIs and overall platform performance |
| Player Analytics | Player behaviour, activity, and engagement analysis |
| Financial Analytics | Revenue, deposits, withdrawals, and profitability insights |
| Gaming Analytics | Game popularity, betting trends, and payouts |
| Country Analytics | Regional player distribution and revenue comparison |
| AI Insights | Customer Segmentation, VIP Prediction, and Churn Prediction |
The platform contains six interactive Power BI dashboard pages designed for different business stakeholders.
Three machine learning models were developed to generate predictive business insights.
- Algorithm: K-Means Clustering
- Objective: Group players based on betting behaviour and activity.
- Output:
- Casual Players
- Regular Players
- VIP Players
- Dormant Players
- Algorithm: Random Forest Classifier
- Objective: Predict high-value players likely to become VIP customers.
- Output:
- VIP Prediction
- VIP Probability Score
- Algorithm: Random Forest Classifier
- Objective: Predict players at risk of becoming inactive.
- Output:
- Churn Prediction
- Churn Probability Score
The machine learning outputs are exported as CSV files and integrated into Power BI for interactive visualization.
The platform enables business stakeholders to:
- Identify high-value VIP customers.
- Detect players at risk of churn.
- Monitor country-level performance.
- Analyze betting behaviour and financial trends.
- Support data-driven marketing and retention strategies.
- Improve executive decision-making through interactive dashboards.
git clone https://github.com/<your-github-username>/AI-Decision-Intelligence-Platform-Lite.git
cd AI-Decision-Intelligence-Platform-Litepython -m venv .venv
Windows
.venv\Scripts\activate
Mac/Linux
source .venv/bin/activatepip install -r requirements.txt
python src/data_generation/generate_data.py
python src/database/load_database.py
Customer Segmentation
python ml/src/customer_segmentation.py
VIP Prediction
python ml/src/vip_prediction.py
Churn Prediction
python ml/src/churn_prediction.py
Combine AI Predictions
python ml/src/combine_predictions.py
Open the Power BI file located in:
dashboards/AI_Decision_Intelligence_Platform.pbix
Possible future improvements include:
- PostgreSQL or SQL Server integration
- Azure or AWS cloud deployment
- Real-time streaming dashboards
- Automated data refresh pipelines
- REST API integration
- Advanced machine learning models
- Model monitoring and retraining
- Role-based dashboard security
- Interactive forecasting dashboards
- SQL Database Design
- Data Modeling
- Python Programming
- Machine Learning
- Feature Engineering
- Data Visualization
- Power BI
- Git & GitHub
- Business Intelligence
- Analytics Storytelling
- End-to-End Project Development
Kirthana
This project was developed as part of a professional analytics portfolio to demonstrate end-to-end skills in data engineering, business intelligence, machine learning, and decision intelligence.
Feel free to connect with me on LinkedIn and explore the repository.





