The aim of this project is to provide some useful insight upon the two datasets provided by the Protezione Civile Italiana organization, reachable at this link. To make best use of the data was also necessary to integrate this two datasets with other geodata.
The computations are performed mostly in two files:
graph_manager.pycovid-19_pandas_analysis.ipynb
The first file uses the library NetworkX to build a graph of italian provinces, from the coronavirus data provided. Once the graph has been produced, are performed a few computations. Inside the file, we made available two different versions of the Bellman Ford algorithm.
The first one, called bellman_ford, is slower and only implements the algorithm with just a few improvements. The other version, called bellman_fordSPFS, implements the variation of the Bellman Ford algorithm called Shortest Path First Algorithm. The main difference between the two algorithms is the presence of a data structure (a deque to be more precise) that speeds up the computation.
It is also made available an implementation of the Betweenness centrality algorithm.
The Jupyter Notebook has the aim of extracting some informations from the data of the two datasets, making a nice visualization of the results obtained.
Useful links to the Jupyter Notebooks:
βββ covid-19_pandas_analysis.ipynb
βββ dati-json
βΒ Β βββ dpc-covid19-ita-province.json
βΒ Β βββ dpc-covid19-ita-regioni.json
βββ graph_manager.py
βββ Graph_manager_presentation.ipynb
βββ Graph_manager_presentation.slides.html
βββ Graph_manager_presentation_slides.pdf
βββ imgs
βΒ Β βββ ...
βββ latex_presentation
βΒ Β βββ bibliography.bib
βΒ Β βββ imgs
βΒ Β βΒ Β βββ ...
βΒ Β βββ main.tex
βββ LICENSE
βββ README.md
βββ shape-italy
βββ ITA_adm0.cpg
βββ ITA_adm0.csv
βββ ITA_adm0.dbf
βββ ITA_adm0.prj
βββ ITA_adm0.shp
βββ ITA_adm0.shx
βββ ITA_adm1.cpg
βββ ITA_adm1.csv
βββ ITA_adm1.dbf
βββ ITA_adm1.prj
βββ ITA_adm1.shp
βββ ITA_adm1.shx
βββ ITA_adm2.cpg
βββ ITA_adm2.csv
βββ ITA_adm2.dbf
βββ ITA_adm2.prj
βββ ITA_adm2.shp
βββ ITA_adm2.shx
βββ ITA_adm3.cpg
βββ ITA_adm3.csv
βββ ITA_adm3.dbf
βββ ITA_adm3.prj
βββ ITA_adm3.shp
βββ ITA_adm3.shx
βββ license.txt
Advanced Algorithms and Graph Mining project - Computer Engineering Master Degree @University of Florence