Coder Social home page Coder Social logo

ai_hackathon_in_transport2024's Introduction

AI Hackathon in Transport 2024 - Team 4

This repository contains the work of Team 4 for the AI Hackathon in Transport 2024. Our project focuses on analysing accident data in Greater Manchester from 2010 to 2021 and developing tools to provide insights to citizens and policymakers.

Files

  1. unified_dataset.csv

  2. manchester_accident_severity1_heatmap.ipynb

    • Jupyter Notebook generates an interactive heatmap of the severity of one accident in Greater Manchester
  3. manchester_accident_analysis.ipynb

    • The Jupyter Notebook perform an in-depth analysis of the unified accident dataset.
    • Generates insights such as clusters of top high-risk areas and top contributing factors.
  4. manchester_intelligent_road_safety_hub.py

    • Code for an interactive web portal presenting accident insights to citizens and policymakers
    • Built using Gradio for the frontend interface
    • Leverages the OpenAI API to power a simple chatbot that can answer questions about Manchester accidents
    • Potential Question: What are the top three reasons for accidents in Greater Manchester with an explanation?

Getting Started

  1. Clone this repository and navigate to the project directory
  2. Run the Jupyter notebooks in sequential order to generate the unified dataset, generate heatmap and perform analysis
  3. Install the required Python libraries: pip install -r requirements.txt
  4. Set the environment variable OPENAI_API_KEY in the current shell session: export OPENAI_API_KEY="your_openai_api_key"
  5. Launch the interactive portal by running: python3 manchester_intelligent_road_safety_hub.py

Contributors

Ada x Amine x Harry x Finbarrs x Jill x Jamie x Hakem

Thank you to our Department for Transport (DfT), Google and PA colleagues.

License

This project is licensed under the MIT License.

Citation

@misc{aihackathonintransport2024,
  author       = {Oketunji, AF. et al},
  title        = {AI Hackathon in Transport 2024 (0.0.1)},
  year         = 2024,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.11213634},
  url          = {https://doi.org/10.5281/zenodo.11213634}
}

Copyright

(c) 2024 DfT - Department for Transport.

ai_hackathon_in_transport2024's People

Contributors

0xnu avatar

Watchers

 avatar

Forkers

amine-rt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.