Skip to content

An AI application predicting the number of accidents in Munich for a specific category and datetime

Notifications You must be signed in to change notification settings

NingyueZhou/AccidPre

Repository files navigation

AccidPre

An AI application predicting the number of accidents in Munich for a specific category and datetime.

Accidents, AI, and a Dash of Serendipity

Hey there, curious minds! Welcome to AccidPre, where we predict accidents with the precision of a fortune teller, but for cars, not your love life. 🚗💥

🚦 Overview

Ever wished you could predict how many accidents might happen in a month? No? Well, we did it anyway! Introducing AccidPre, your go-to AI application for predicting the number of accidents in Munich for a specific category and datetime. Buckle up, not just for safety, but also for the ride of data-driven fortune-telling!

🌟 Features

  • Data Magic: Our AI magician processes and cleans data, turning chaos into predictions.
  • Fortune-Telling Model: Unleash the power of AI to predict accident numbers. Crystal ball, eat your heart out!
  • Category and Datetime Awesomeness: Specify your accident category and datetime; we'll do the predicting!

🛠️ Requirements

Make sure you've got the basics covered before joining our magical journey:

  • Python 3.x
  • Required Python packages (listed in requirements.txt)

🚀 Setup

  1. Clone the repository:

    git clone https://github.com/your-username/AccidPre.git
  2. Navigate to the project directory (no magic spells required):

    cd AccidPre/app
  3. Install the wizardry (dependencies):

    pip install -r requirements.txt
  4. Wave your wand and run the application:

    python accid_pre_app.py

✨ Usage

  1. Launch the application.
  2. Choose your accident category and datetime like you're picking tarot cards.
  3. Revel in the magic of our AI predicting the number of accidents.

Example

Input:

{
"year":2024,
"month":10
}

Output:

{
"prediction":24
}

🎉 Contributing

Feel like adding more magic? Contribute your enchantments through pull requests. AccidPre is open to anything magical!

🙏 Acknowledgments

Huge thanks to the Digital Product School for providing this interesting challenge for all potential future AI Engineers! And also thanks to the mystical München Open Data Portal for providing the magical accident data.

Now go ahead, embrace the magic of AccidPre, and remember: Accidents may be unpredictable, but AccidPre's predictions are pure magic! 🌟✨

About

An AI application predicting the number of accidents in Munich for a specific category and datetime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages