summaryrefslogtreecommitdiffstats
path: root/experiments/plot3d.py
diff options
context:
space:
mode:
authorBen Green <ben@SEASITs-MacBook-Pro.local>2015-06-19 01:30:40 -0400
committerBen Green <ben@SEASITs-MacBook-Pro.local>2015-06-19 01:30:40 -0400
commit958c31ca10c4eed08da818b9e16d84ebfeb44c27 (patch)
tree7a77a047d20be4ebb818ec1194cfd0a355f0706b /experiments/plot3d.py
parent5aef644d674b73d6ba34c55b6147954b1a2a2535 (diff)
downloadcriminal_cascades-958c31ca10c4eed08da818b9e16d84ebfeb44c27.tar.gz
Continuing to experiment. Identifying infections vs seeds might be
impossible :/. We may want to try a model where we just assume infections — can get parameters for the benchmark test.
Diffstat (limited to 'experiments/plot3d.py')
-rw-r--r--experiments/plot3d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/experiments/plot3d.py b/experiments/plot3d.py
index b99ef61..b1b337f 100644
--- a/experiments/plot3d.py
+++ b/experiments/plot3d.py
@@ -7,10 +7,10 @@ with open("out.log") as fh:
values = [map(float, line.strip().split()) for line in fh]
#values = [(b, a, l) for (b, a, l) in values if b >= 0.04]
am = max(values, key=lambda x: x[4])
- am[0] = 1./am[0]
+ # am[0] = 1./am[0]
print am
alpha, delta, beta, r , l = zip(*values)
- alpha = 1./np.array(alpha)
+ # alpha = 1./np.array(alpha)
fig = plt.figure(figsize=(12, 8))
ax = fig.gca(projection='3d')