Refined docs

main
Luca Lombardo 3 years ago
parent 658665bbc4
commit 8403fc1cd5

@ -1,5 +1,7 @@
# Closeness and Harmonic centrality over the IMDb Graph # Closeness and Harmonic centrality over the IMDb Graph
## Introduction
**IMPORTANT:** since Github does not render the math text, to properly read this README you have to clone the repo locally or install this extension that will render the math text. **IMPORTANT:** since Github does not render the math text, to properly read this README you have to clone the repo locally or install this extension that will render the math text.
> [GitHub Math Display](https://chrome.google.com/webstore/detail/github-math-display/cgolaobglebjonjiblcjagnpmdmlgmda/related) > [GitHub Math Display](https://chrome.google.com/webstore/detail/github-math-display/cgolaobglebjonjiblcjagnpmdmlgmda/related)
@ -168,7 +170,7 @@ At the end, we can finally generate the file `Relazioni.txt` containing the colu
Now that we have understood the python code, let's start with the core of the algorithm, written in C++ Now that we have understood the python code, let's start with the core of the algorithm, written in C++
![](https://i.redd.it/icysmnx0lpsy.jpg) <!-- ![](https://i.redd.it/icysmnx0lpsy.jpg) -->
## Data structures to work with ## Data structures to work with

@ -5,7 +5,7 @@ import numpy as np
import os import os
import csv import csv
MIN_MOVIES = 5 # Only keep relations for actors that have made more than this many movies MIN_MOVIES = 42 # Only keep relations for actors that have made more than this many movies
#-----------------DOWNLOAD .GZ FILES FROM IMDB DATABASE-----------------# #-----------------DOWNLOAD .GZ FILES FROM IMDB DATABASE-----------------#

Loading…
Cancel
Save