mirror of
https://github.com/lukefleed/imdb-graph.git
synced 2026-10-06 21:34:51 +00:00
Refined docs
This commit is contained in:
@@ -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++
|
||||||
|
|
||||||

|
<!--  -->
|
||||||
|
|
||||||
## 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-----------------#
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user