summaryrefslogtreecommitdiff
path: root/ensemble.py
diff options
context:
space:
mode:
Diffstat (limited to 'ensemble.py')
-rw-r--r--ensemble.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ensemble.py b/ensemble.py
index 34b4024..fea3d6a 100644
--- a/ensemble.py
+++ b/ensemble.py
@@ -1,7 +1,7 @@
from misc import *
import math
-def onefold(inr,inm,tot,clist,folds,resm)
+def onefold(inr,inm,tot,clist,folds,resm):
#inr="a.rid"
#resm="res.m"
@@ -63,10 +63,10 @@ def onefold(inr,inm,tot,clist,folds,resm)
oum="%d-%g.m" % (i,c)
rid = "a%d.rid"%i
params = "-T -d -m %s -i %s -o %s -c %g" % (inm,rid,oum,c)
- #train(params)
+ train(params)
oup="%d-%g.p"%(i,c)
params = "-P -p -m %s -i %s -o %s" %(oum,inr,oup)
- #bare(params)
+ bare(params)
for p in getpred(oup):
mai=max(abs(p),mai);