You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Real-time predictive analytics platform that correlates data across four public API domains — weather, economic indicators, news sentiment, and transportation — to surface cross-domain insights via an interactive Flask dashboard with WebSocket updates.
Architecture
Data Domains
Domain
Source
Cache TTL
What it provides
Weather
OpenWeatherMap API
30 min
Current conditions, 5-day forecasts, temperature trends
Identifies non-obvious relationships between weather, markets, traffic, and news
Natural language queries
Intent classification + entity extraction
Ask "How does temperature affect traffic congestion?" and get visual answers
Real-time updates
Flask-SocketIO with WebSocket fallback
Dashboard refreshes without page reload when new data arrives
Predictive analytics
scikit-learn time-series models
Forecasts future trends using cross-domain feature combinations
Graceful degradation
3-tier fallback: API → cache → demo data
System stays operational even when all external APIs are down
Use case templates
4 pre-built analytical environments
Supply chain, public health, urban infrastructure, financial strategy
Quick Start
git clone https://github.com/damsolanke/Cross_Domain_Predictive_Analytics_Dashboard.git
cd Cross_Domain_Predictive_Analytics_Dashboard
pip install -r requirements.txt
# Configure API keys (optional — runs with demo data without them)
cp .env.example .env
# Edit .env with your API keys# Start the dashboard
python run.py
# → http://localhost:5000
The system works without API keys — it falls back to generated demo data with realistic domain patterns.
Design Decisions
Decision
Why
Tradeoff
Flask over FastAPI
Jinja templates for server-rendered dashboards, mature SocketIO integration
An advanced web-based data platform using Python frameworks that integrates multiple data sources and applies machine learning for predictive analytics.