From 748b85b06b600f6deeedb42d9c3fa983c4513ae3 Mon Sep 17 00:00:00 2001 From: Joe Zhao Date: Thu, 4 Jun 2015 00:46:43 +0800 Subject: train tested --- ensemble.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ensemble.py') 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); -- cgit v1.2.3-70-g09d2