diff options
| author | Ben Green <ben@SEASITs-MacBook-Pro.local> | 2015-06-15 17:15:33 -0400 |
|---|---|---|
| committer | Ben Green <ben@SEASITs-MacBook-Pro.local> | 2015-06-15 17:15:33 -0400 |
| commit | f7997e0c67ea85b42da94894b6a6f9bef7382170 (patch) | |
| tree | 57ac35463e4d45a84c0e1f215793519023a9ccbc /experiments/process.py | |
| parent | 1143cf60812c37957c81d39d6180921460e62901 (diff) | |
| download | criminal_cascades-f7997e0c67ea85b42da94894b6a6f9bef7382170.tar.gz | |
minor changes for testing
Diffstat (limited to 'experiments/process.py')
| -rw-r--r-- | experiments/process.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/experiments/process.py b/experiments/process.py index 98406d6..8ebe953 100644 --- a/experiments/process.py +++ b/experiments/process.py @@ -11,8 +11,8 @@ if __name__ == "__main__": sys.exit("usage: {0} <file>".format(sys.argv[0])) root_victims, victims, non_victims, age = load(open(sys.argv[1])) - alphas = 1. / np.arange(1., 4000., 50.) # parameter of the time component - deltas = np.arange(0.01, 0.3, 0.05) # parameter of the structural component + alphas = 1. / np.arange(1., 1000., 50.) # parameter of the time component + deltas = np.arange(0.01, 0.5, 0.1) # parameter of the structural component with open("out.log", "w") as fh: for alpha, delta in product(alphas, deltas): beta, roots, ll = ml(root_victims, victims, non_victims, age, alpha, delta) |
