GithubHelp home page GithubHelp logo

hillairet / analysis-for-safer-roads Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 3.21 MB

Analysis of car accidents to understand their causes.

License: GNU General Public License v3.0

Jupyter Notebook 98.30% Python 1.70%

analysis-for-safer-roads's Introduction

Analysis for safer roads

Synopsis

While I was driving in Japan one day, a country where most cars are mostly white, black, and any shade of grey in between, I have found myself wondering if the color of a car had any impact on its probably to be into an accident. Indeed I would expect a bright red car to be more noticeable and therefore be less involved in car accidents.

I unfortunately haven't found data containing the color of the cars involved in accidents. Insurance companies do apply a premium to red cars but it could be for a higher risk of theft and not of car accidents.

I have however found the very detailed records on the car accidents happening in France collected by the French interior ministry. They are so far the best I have found and I have decided to look in details at these records to get a better understanding of the factors leading to accidents. I really wonder if there are some practices that could reduce the risk of an accident. For example:

  • Is it safer to walk on the side of the road facing the incoming cars or turning our backs to them ?
  • Is the public lighting system sufficient or are the accidents still occuring mostly in poorly lit roads ?
  • Does daylight saving help reduce or increase the number of accidents ?
  • Can we predict the severity of an accident for each road user based on available information, maybe to guide emergency response teams ?

The data was obtain from the French government open data website under the Open Licence. https://www.data.gouv.fr/fr/datasets/base-de-donnees-accidents-corporels-de-la-circulation/

Outline

  1. Section1 - Data wrangling
  2. Section2 - Data visualization
  3. Section3 - Predict severity

Software used

  • Jupyter Notebook
  • Python with various modules:
    • Pandas
    • Matplotlib
    • Seaborn
  • MariaDB database

analysis-for-safer-roads's People

Contributors

hillairet avatar

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.