diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-06-22 15:23:13 +0800 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-06-22 15:23:13 +0800 |
commit | cd0093e9f0fba0b39463bb9ca4fe5261dfc0ef9b (patch) | |
tree | 9d09bebad891d2da0d928788793b2340dbfc6313 /train.py | |
parent | c2dfedb018960df418ed71a22a192683ea128ce2 (diff) | |
download | cross-cd0093e9f0fba0b39463bb9ca4fe5261dfc0ef9b.tar.gz cross-cd0093e9f0fba0b39463bb9ca4fe5261dfc0ef9b.tar.bz2 cross-cd0093e9f0fba0b39463bb9ca4fe5261dfc0ef9b.zip |
final
Diffstat (limited to 'train.py')
-rw-r--r-- | train.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,12 +2,14 @@ import ensemble import cross import time -clist=[0.0001, 0.005, 0.01, 0.05, 0.1, 0.5, 1, 10, 100, 1000] +clist=[0.1, 0.3, 1, 10, 30, 100, 300, 1e3, 3e3 , 1e4] inr="a.rid" tot=316 -folds=2 +folds=4 -for i in range(10): +clist.reverse(); + +for i in range(60): print("iter %d:" %i) start = time.time(); cross.onefold(inr,"%d.m"%i,316,clist,folds,"%d.m"%(i+1)) |