An open API service indexing awesome lists of open source software.

https://github.com/tushar2704/road_traffic_severity

The Road_Traffic_Severity repository is a comprehensive and sophisticated solution for analyzing and predicting the severity of road traffic incidents. It is designed to aid traffic management authorities, transportation planners, and researchers in understanding the factors contributing to road accidents and estimating their potential impact.
https://github.com/tushar2704/road_traffic_severity

artificial-intelligence data-science python tushar2704

Last synced: 2 months ago
JSON representation

The Road_Traffic_Severity repository is a comprehensive and sophisticated solution for analyzing and predicting the severity of road traffic incidents. It is designed to aid traffic management authorities, transportation planners, and researchers in understanding the factors contributing to road accidents and estimating their potential impact.

Awesome Lists containing this project

README

          

# Road Traffic Severity Classification
![Python](https://img.shields.io/badge/python-3670A0?style=for-the-badge&logo=python&logoColor=ffdd54)
![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white)
![MySQL](https://img.shields.io/badge/mysql-%2300f.svg?style=for-the-badge&logo=mysql&logoColor=white)
![Power Bi](https://img.shields.io/badge/power_bi-F2C811?style=for-the-badge&logo=powerbi&logoColor=black)
![Microsoft Excel](https://img.shields.io/badge/Microsoft_Excel-217346?style=for-the-badge&logo=microsoft-excel&logoColor=white)
![Microsoft PowerPoint](https://img.shields.io/badge/Microsoft_PowerPoint-B7472A?style=for-the-badge&logo=microsoft-powerpoint&logoColor=white)
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge&logo=visual-studio-code&logoColor=white)
![R](https://img.shields.io/badge/r-%23276DC3.svg?style=for-the-badge&logo=r&logoColor=white)
![Windows Terminal](https://img.shields.io/badge/Windows%20Terminal-%234D4D4D.svg?style=for-the-badge&logo=windows-terminal&logoColor=white)
![Pandas](https://img.shields.io/badge/pandas-%23150458.svg?style=for-the-badge&logo=pandas&logoColor=white)
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)

### About the Data :

**This data set is collected from Addis Ababa Sub-city police departments for master's research work. The data set has been prepared from manual records of road traffic accidents of the year 2017-20. All the sensitive information has been excluded during data encoding and finally it has 32 features and 12316 instances of the accident. Then it is preprocessed and for identification of major causes of the accident by analyzing it using different machine learning classification algorithms.**

**Problem Statement: The target feature is Accident_severity which is a multi-class variable. The task is to classify this variable based on the other 31 features step-by-step by going through each day's task. Your metric for evaluation will be f1-score.**

Dataset Source Link :
[NARCIS](https://www.narcis.nl/dataset/RecordID/oai%3Aeasy.dans.knaw.nl%3Aeasy-dataset%3A191591)

# Demo:
```
streamlit run RTS_app.py
```
Pip install libraries
```
pip install -r requirements.txt
```
# Deliverable::
### [Streamllit](https://tushar2704-road-traffic-severity-rts-app-sf35uz.streamlit.app/)

### [Render](https://rts-app.onrender.com)

"""""""""""""""""""""""""""""""

### Project Purpose:
The purpose of the Road_Traffic_Severity project is to develop a robust and data-driven solution for analyzing and predicting the severity of road traffic incidents. The primary aim is to empower traffic management authorities, transportation planners, and researchers with actionable insights to improve road safety, reduce accidents, and enhance traffic flow efficiency.

### Business Case:
Road traffic accidents have significant social, economic, and environmental impacts. They lead to loss of life, injuries, property damage, and traffic congestion, causing immense financial burdens on governments and businesses. By addressing this critical issue through advanced data analysis and predictive modeling, the Road_Traffic_Severity project aims to:

**Save Lives and Reduce Injuries:** By understanding the factors contributing to traffic accidents, authorities can implement targeted measures to prevent accidents and reduce the severity of injuries in the event of incidents.

**Optimize Traffic Management**: With real-time monitoring and predictive analytics, traffic management authorities can proactively respond to potential traffic incidents, diverting traffic to alternative routes, and minimizing congestion.

**Resource Allocation:** The project helps in efficiently allocating resources such as emergency services, law enforcement, and road maintenance, ensuring timely response and assistance during accidents.

**Cost Reduction:** By mitigating the frequency and severity of accidents, the project can lead to significant cost savings in terms of healthcare expenses, vehicle repair, and traffic-related delays.

### Goal:

**The ultimate goal of the Road_Traffic_Severity project is to create a comprehensive and reliable system that:**

**Accurately Predicts Severity:** Develops machine learning models that can accurately predict the severity of road traffic incidents based on historical and real-time data.

**Identifies Risk Factors:** Analyzes historical accident data and associated variables to identify key risk factors contributing to accidents, such as weather conditions, road infrastructure, and traffic patterns.

**Enables Data-Driven Decision Making:** Empowers transportation planners and authorities to make informed decisions and implement targeted interventions to enhance road safety and traffic management.

**Facilitates Real-time Monitoring:** Provides a user-friendly interface for real-time monitoring of traffic conditions, enabling timely response to accidents and potential road hazards.

**Encourages Collaboration:** Promotes collaboration among researchers, data scientists, and traffic management professionals to continuously improve the project's capabilities and effectiveness.

### Next Steps: Monitor performance and retrain model with more data as more data becomes available.

## Author
- ©2023 Tushar Aggarwal. All rights reserved
- [LinkedIn](https://www.linkedin.com/in/tusharaggarwalinseec/)
- [Medium](https://medium.com/@tushar_aggarwal)
- [Tushar-Aggarwal.com](https://www.tushar-aggarwal.com/)
- [New Kaggle](https://www.kaggle.com/tagg27)

## Contact me!

If you have any questions, suggestions, or just want to say hello, you can reach out to us at [Tushar Aggarwal](mailto:info@tushar-aggarwal.com). We would love to hear from you!