diff options
| author | Ben Green <ben@SEASITs-MacBook-Pro.local> | 2015-06-11 18:20:55 -0400 |
|---|---|---|
| committer | Ben Green <ben@SEASITs-MacBook-Pro.local> | 2015-06-11 18:20:55 -0400 |
| commit | 18aa2dd933f4c76ebd374b42fa10d0067870f135 (patch) | |
| tree | c4e65d27ea78e5ec02ebc983734746d4433c6fe0 /experiments/README.txt | |
| parent | 85e4d58fb38b8190c7e2a6bc3961723a65e84c86 (diff) | |
| download | criminal_cascades-18aa2dd933f4c76ebd374b42fa10d0067870f135.tar.gz | |
cleaned up code with some minor changes
Diffstat (limited to 'experiments/README.txt')
| -rw-r--r-- | experiments/README.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/experiments/README.txt b/experiments/README.txt index a3f2e22..80f6aa0 100644 --- a/experiments/README.txt +++ b/experiments/README.txt @@ -16,7 +16,7 @@ Description of the files (time component) and delta (structural component). The likelihood (and a few other things) for each of the values is printed in the file "out.log". Takes as argument the name of .pickle file computed by build_network.py - Prints columns as alpha, delta, beta, #roots, likelihood + Prints columns as alpha, delta, beta, number of roots, likelihood * plot3d.py: code to obtain a 3d plot of the log likelihood as a function of alpha and delta. Can also be easily modified to obtain 2d plots along @@ -38,3 +38,10 @@ complicated, it is also possible to compile .pyx files using python distutils (which I would assume is more standard on MacOS). This only requires distutils and a simple setup.py file. More details here: http://docs.cython.org/src/reference/compilation.html#configuring-the-c-build + +Running Code +============ +python build_network.py ../../Results/dag_dat_all.csv +python setup.py build_ext --inplace +python process.py ../../Results/dag_dat_all.pickle +python plot3d.py |
