An interactive machine learning-powered web application that predicts and visualizes road accident severity based on various contributing factors. Built with Python and Streamlit, this dashboard combines predictive analytics with comprehensive data visualization.
- ๐จ XGBoost machine learning model trained on historical data
- โก Real-time severity predictions (Slight/Serious/Fatal)
- ๐ 13 input parameters including weather, road conditions, and vehicle types
- ๐จ Dynamic color-coded risk assessment
- ๐ Interactive pie charts and bar graphs
- ๐ Historical prediction tracking
- ๐ Comparative analytics:
- Casualty distribution by severity
- Speed patterns across accident types
- ๐ฅ๏ธ Responsive dashboard layout
- ๐๏ธ Intuitive input controls
- ๐พ Session memory for prediction history
- ๐ฑ Mobile-friendly design
streamlit run app.py