The SVBM module is compiled for Python 3.6. It implements the variational EM of Pierre Latouche.
His paper can be found here.
There is a wiki to explain how to use the module.
To import it, you just need to add one file from this folder to your directory :
- For Linux, Mac OS X : SVBM.cpython-36m-x86_64-linux-gnu.so
- For Windows : SVBM.cp36-win_amd64.pyd
Then from SVBM import *
or execute the main.py
If this files do not work you can try the notebook : Try with Cython.ipynb with "enron_network.npy".
The module was developped for the study of the Enron Scandal.
There are three notebooks related :
-
The main notebook, containing the analysis presented in the report, can be accessed here. It contains a notebook allowing to compute the adjency matrix and to display the network. All dataset are already in the folder. Make sure to change the path variable to be able to execute the notebook properly.
-
Two notebooks that are draft to study the network.
-
Data_Cleaning.ipynb : Cleaning and reducing size of the original data from here .
You need to have the database within csv files to execute this one. -
ScandalPerson.ipynb : Descriptive statistics about the different type of traffic
You need a folder named "data" at your root filled with this files.
-