diff options
| author | Ben Green <ben@SEASITs-MacBook-Pro.local> | 2015-06-23 14:10:51 -0400 |
|---|---|---|
| committer | Ben Green <ben@SEASITs-MacBook-Pro.local> | 2015-06-23 14:10:51 -0400 |
| commit | a04d00976c6a3e990dd1f59b4ab2507f574a6ddb (patch) | |
| tree | 9c0ad71fc1cc3fbab70463bc885ad0b6335c3900 /experiments/process.py | |
| parent | aa081ff0ddadfcfdcfc4b61af9845760a463e4cc (diff) | |
| download | criminal_cascades-a04d00976c6a3e990dd1f59b4ab2507f574a6ddb.tar.gz | |
ran some experiments with ml3, still no good results
Diffstat (limited to 'experiments/process.py')
| -rw-r--r-- | experiments/process.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/experiments/process.py b/experiments/process.py index a538545..a9e0463 100644 --- a/experiments/process.py +++ b/experiments/process.py @@ -13,10 +13,10 @@ if __name__ == "__main__": sys.exit("usage: {0} <file>".format(sys.argv[0])) root_victims, victims, non_victims, age = load(open(sys.argv[1])) - alphas = np.arange(1e-3, 5e-1, 1e-2) # parameter of the time component - # alphas = np.logspace(-4,0,num=20) - deltas = np.arange(0.01, 0.99, 0.05) # parameter of the structural component - # deltas = np.logspace(-3,-0.001,num=20) + # alphas = np.arange(1e-3, 1e-2, 8e-4) # parameter of the time component + alphas = np.logspace(-4,-.8,num=20) + # deltas = np.arange(0.001, 0.3, 0.008) # parameter of the structural component + deltas = np.logspace(-2,-.0001,num=20) with open("out.log", "w") as fh: for alpha, delta in product(alphas, deltas): beta, roots, ll = ml3(root_victims, victims, non_victims, age, alpha, delta) |
