ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/train.py
(Generate patch)

Comparing UserCode/VHbb/python/train.py (file contents):
Revision 1.2 by peller, Wed May 9 09:48:24 2012 UTC vs.
Revision 1.3 by peller, Wed May 9 15:25:28 2012 UTC

# Line 72 | Line 72 | path=config.get(run,'path')
72  
73   TCutname=config.get(run, 'treeCut')
74   TCut=config.get('Cuts',TCutname)
75 < print TCut
75 > #print TCut
76  
77   #signals
78   signals=config.get(run,'signals')
# Line 89 | Line 89 | MVA_Vars={}
89   MVA_Vars['Nominal']=config.get(treeVarSet,'Nominal')
90   MVA_Vars['Nominal']=MVA_Vars['Nominal'].split(' ')    
91   #Spectators:
92 < spectators=config.get(treeVarSet,'spectators')
93 < spectators=spectators.split(' ')
92 > #spectators=config.get(treeVarSet,'spectators')
93 > #spectators=spectators.split(' ')
94  
95   #TRAINING samples
96   infofile = open(path+'/samples.info','r')
# Line 188 | Line 188 | info.weightfilepath=Wdir+'/weights'
188   info.path=path
189   info.varset=treeVarSet
190   info.vars=MVA_Vars['Nominal']
191 < info.spectators=spectators
191 > #info.spectators=spectators
192   pickle.dump(info,infofile)
193   infofile.close()
194  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines