Website Link: http://kdhminime.pythonanywhere.com/
To do so, we compiled news data, analyzed government-provided datasets, and displayed them in a website.
-
Compiles information through web scraping and pdf parsing
- Scrapes news report data from a website whose approach is one of the most systematic and thorough in recording locations of collisions:
- Extracts table from pdf files:
-
Analyzes government data on car collisions through machine learning
- Uses two training models (ARIMA and Prophet) to analyze trends and to predict future occurrences
-
Displays above data in a website
- Originality:
- Currently, there is no publicly accessible compiled information on car collision locations
- Nobody else analyzed the trends in car collision using machine learning in Canada
- Complexity:
- Quickly familiarized ourselves with techniques required to compile, analyze, and display data
- Web scraping
- Machine learning
- Web designing
- Quickly familiarized ourselves with techniques required to compile, analyze, and display data
- Execution and Polishness
- Completed the working project within 24 hours
- Utility
- Our project raises awareness on road safety and can be extended to encourage the government authorities to implement our system through showcasing its importance.
- Scraping website data
- Move to "webscraping" directory
- To start the program and to create an output file, run:
python3 web_scraper.py > scraped_data.txt
- Accessing Jupyter notebook
- Select machine learning model folder
- Click on ipython file(.ipynb)
- Enjoy the model!
- "ARIMA_Prediction_Model" directory
- "Prophet_Prediction_Model" directory
- "datasets" directory contains required datas for prediction that is parsed from pdf file
- "src" directory contains html files
- "webscraping" directory contains files that scrape website data