diff --git a/README.md b/README.md index a207e2f..4471da8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # 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. > [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++ -![](https://i.redd.it/icysmnx0lpsy.jpg) + ## Data structures to work with diff --git a/filtro.py b/filtro.py index 1c1d329..da0fbe7 100755 --- a/filtro.py +++ b/filtro.py @@ -5,7 +5,7 @@ import numpy as np import os 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-----------------#