AI-Powered Analytics Platform for UIDAI Aadhaar Data with Predictive Insights
Features • Installation • Usage • Architecture • Team
UIDAI Aadhaar Analytics is an intelligent dashboard designed for analyzing Aadhaar enrollment and update data across India. The platform combines Machine Learning predictions with Google Gemini AI to provide actionable insights for decision-makers at UIDAI.
- Real-time visualization of Aadhaar statistics
- State-wise and district-wise analytics
- Trend analysis with interactive charts (Plotly)
- Dark/Light theme support
- ML Model: Random Forest Regressor for demand prediction
- Model persistence (
.pklformat) for reuse - Prediction statistics with state-wise breakdown
- R² score and MAE metrics display
- Natural language query interface
- Dynamic Insights: Finding → Impact → Recommendation format
- Powered by Google Gemini AI
- Actionable suggestions generation
- Intent classification for relevant responses
- Auto-generated insights from predictions
- Context-aware AI analysis
- Responsive and modern UI
- Python 3.9 or higher
- Google Gemini API Key
-
Clone the repository
git clone https://github.com/Durvesh-dev/UIDAI_11297_NEXORA.git cd UIDAI_11297_NEXORA -
Create virtual environment
python -m venv venv
-
Activate virtual environment
Windows:
.\venv\Scripts\Activate.ps1
Linux/Mac:
source venv/bin/activate -
Install dependencies
pip install -r requirements.txt
-
Set Gemini API Key
Windows PowerShell:
$env:GEMINI_API_KEY = "your-api-key-here"
Linux/Mac:
export GEMINI_API_KEY="your-api-key-here"
-
Run the application
streamlit run app.py
- Upload Dataset: Use the sidebar to upload your Aadhaar CSV file
- Explore Dashboard: View interactive visualizations and statistics
- Train Model: Navigate to "Predictive Model" page and click "Train Prediction Model"
- Generate Predictions: Click "Generate Predictions" to see forecasts
- Chat with AI: Ask questions in the "Insight Chat" page
- "What do predictions show for high-activity states?"
- "What trends are predicted for next quarter?"
- "Which states need more enrollment centers?"
- "Analyze the update patterns in southern states"
┌─────────────────────────────────────────────────────────────┐
│ STREAMLIT APP (app.py) │
└─────────────────────────────────────────────────────────────┘
│
┌─────────────────────┼─────────────────────┐
▼ ▼ ▼
┌──────────────┐ ┌──────────────────┐ ┌──────────────┐
│ DASHBOARD │ │ PREDICTIVE MODEL │ │ INSIGHT CHAT │
└──────────────┘ └──────────────────┘ └──────────────┘
│ │
▼ ▼
┌───────────────┐ ┌───────────────┐
│ model_utils.py│ │chat_engine.py │
└───────────────┘ └───────────────┘
│ │
└──────────┬───────────┘
▼
┌──────────────────────┐
│ gemini_helper.py │
│ (Gemini AI) │
└──────────────────────┘
UIDAI_11297_NEXORA/
├── app.py # Main Streamlit application
├── model_utils.py # ML model training & predictions
├── chat_engine.py # AI chat query handler
├── gemini_helper.py # Gemini AI integration
├── insights.py # Analytics & insight generation
├── requirements.txt # Python dependencies
├── ARCHITECTURE.md # Detailed architecture docs
├── IMPLEMENTATION_SUMMARY.md # Implementation details
├── QUICK_START.md # Quick start guide
└── README.md # This file
| Component | Technology |
|---|---|
| Frontend | Streamlit |
| Visualization | Plotly |
| ML Model | scikit-learn (RandomForest) |
| AI Engine | Google Gemini AI |
| Data Processing | Pandas, NumPy |
Team ID: 11297
| Contributor | Role |
|---|---|
| Durvesh Bhadgaonkar | Developer |
| Swapnil Surendra Kasare | Developer |
| Hassaan Tole | Developer |
| Vansh Jindam | Developer |
| Sarvesh Deshmukh | Developer |