You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
(2) |
Apr
(10) |
May
(1) |
Jun
(13) |
Jul
(69) |
Aug
(40) |
Sep
(45) |
Oct
(21) |
Nov
(15) |
Dec
(2) |
2008 |
Jan
(44) |
Feb
(21) |
Mar
(28) |
Apr
(33) |
May
(35) |
Jun
(16) |
Jul
(12) |
Aug
(29) |
Sep
(12) |
Oct
(24) |
Nov
(36) |
Dec
(22) |
2009 |
Jan
(25) |
Feb
(19) |
Mar
(47) |
Apr
(23) |
May
(39) |
Jun
(14) |
Jul
(33) |
Aug
(12) |
Sep
(31) |
Oct
(31) |
Nov
(19) |
Dec
(13) |
2010 |
Jan
(7) |
Feb
(27) |
Mar
(26) |
Apr
(17) |
May
(10) |
Jun
(11) |
Jul
(17) |
Aug
(20) |
Sep
(31) |
Oct
(13) |
Nov
(19) |
Dec
(6) |
2011 |
Jan
(13) |
Feb
(17) |
Mar
(36) |
Apr
(19) |
May
(4) |
Jun
(14) |
Jul
(24) |
Aug
(22) |
Sep
(47) |
Oct
(35) |
Nov
(24) |
Dec
(18) |
2012 |
Jan
(28) |
Feb
(19) |
Mar
(23) |
Apr
(36) |
May
(27) |
Jun
(39) |
Jul
(29) |
Aug
(23) |
Sep
(17) |
Oct
(36) |
Nov
(60) |
Dec
(28) |
2013 |
Jan
(34) |
Feb
(23) |
Mar
(44) |
Apr
(39) |
May
(89) |
Jun
(55) |
Jul
(31) |
Aug
(47) |
Sep
(6) |
Oct
(21) |
Nov
(21) |
Dec
(10) |
2014 |
Jan
(19) |
Feb
(32) |
Mar
(11) |
Apr
(33) |
May
(22) |
Jun
(7) |
Jul
(16) |
Aug
(4) |
Sep
(20) |
Oct
(17) |
Nov
(12) |
Dec
(6) |
2015 |
Jan
(9) |
Feb
(7) |
Mar
(16) |
Apr
(5) |
May
(13) |
Jun
(27) |
Jul
(25) |
Aug
(11) |
Sep
(10) |
Oct
(7) |
Nov
(47) |
Dec
(2) |
2016 |
Jan
(9) |
Feb
(2) |
Mar
(4) |
Apr
(18) |
May
(2) |
Jun
(8) |
Jul
|
Aug
(27) |
Sep
(47) |
Oct
(28) |
Nov
(3) |
Dec
(9) |
2017 |
Jan
(11) |
Feb
(23) |
Mar
(7) |
Apr
(7) |
May
(20) |
Jun
|
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(3) |
Nov
(11) |
Dec
(8) |
2018 |
Jan
(9) |
Feb
(8) |
Mar
(2) |
Apr
(2) |
May
(2) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(2) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
From: Helge V. <Hel...@ce...> - 2016-10-11 15:03:42
|
Hi Betty, well, obviously simply scaling by the cross section is 'meaningless' if you don't take into account the number of events generated. Just think .. in another world, maybe the guy/girl responsible for the MC generation simply generated 2x more of one particular bkg-source just because he/she regarded it as more interesting ... if you simply scale by 'cross section' you'd get a different event sample distribution w/o changing any physics.. So you'd probably want to scale them such that the generated integrated luminosity for all bkg sources is the same. Assuming you don't have any 'preselection cuts' in the MC generation (which is probably a wrong assumption), then scaling each bkg by weighting all bkg sources i, bkg(i) by int_lum(i) is then proportional to #events(i)/crosssection(i), so in that case you'd have to get a multiplicative event weight of weight(i)=1/int_lumi(i)=crosssection(i)/#events-generated(i) .. that would make the distriution of the sum of the bkg events in your simulation look like that one expected in the data, which is probably a good way to go as default for any mva training (not, it's not a 'must' .. you can also somehow weigh the various types different, get a slightly different classifier... , you'd just have to watch out how to calculate backgr. rejection then ..) Cheers, Helge On 11 October 2016 at 14:27, Betty Calpas <bet...@ce...> wrote: > Dear, > > any idea? > > Regards > > > -------- Forwarded Message -------- > Subject: Event normalization in tmva training > Date: Tue, 11 Oct 2016 11:30:36 +0200 > From: Betty Calpas <bet...@ce...> <bet...@ce...> > To: tmv...@li... <tmv...@li...> > <tmv...@li...> > > Dear experts, > > to normalize my bkg btw them, I multiplyed each event by > > their cross section. But the bkg samples have different > > initial number of event, so I wonder if applying the cross > > section as a weight is enough? Should I take into account > > the initial number of event? > > Regards > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > TMVA-users mailing list > TMV...@li... > https://lists.sourceforge.net/lists/listinfo/tmva-users > > |
From: Betty C. <bet...@ce...> - 2016-10-11 13:25:41
|
Dear, any idea? Regards -------- Forwarded Message -------- Subject: Event normalization in tmva training Date: Tue, 11 Oct 2016 11:30:36 +0200 From: Betty Calpas <bet...@ce...> To: tmv...@li... <tmv...@li...> Dear experts, to normalize my bkg btw them, I multiplyed each event by their cross section. But the bkg samples have different initial number of event, so I wonder if applying the cross section as a weight is enough? Should I take into account the initial number of event? Regards |
From: Betty C. <bet...@ce...> - 2016-10-11 10:29:13
|
Dear experts, to normalize my bkg btw them, I multiplyed each event by their cross section. But the bkg samples have different initial number of event, so I wonder if applying the cross section as a weight is enough? Should I take into account the initial number of event? Regards |
From: Peter S. <pet...@gm...> - 2016-09-30 13:09:48
|
Great! On Fri, Sep 30, 2016 at 2:54 PM Betty Calpas <bet...@ce...> wrote: > Dear Peter, > > yes this works. > > Regards > > > On 9/30/16 2:50 PM, Peter Speckmayer wrote: > > Hi Betty, > > If you use the official ROOT, then you have to copy 'by hand' from the > incoming double variable to another float variable. > > > something like: > > Float_t pt_1; > Double_t pt_1_d; > > reader->AddVariable( "pt_1", &pt_1 ); > ... > > inputtree->SetBranchAddress( "pt_1", &pt_1_d ); > > and in the event-copying loop you have to pt_1 = pt_1_d; > > cheers, > Peter > > > > On Fri, Sep 30, 2016 at 1:39 PM Betty Calpas <bet...@ce...> wrote: > >> Hi Peter, >> >> thank you it help, but I do not understand why the AddVariable can't make >> the "conversion". >> >> >> Regards >> >> On 9/30/16 1:34 PM, Peter Speckmayer wrote: >> >> Hi Betty, >> >> Could you try to add a new version of "AddVariable" to the Reader? >> >> in Reader.h: >> void AddVariable( const TString& expression, Double_t* ); >> >> >> in Reader.cxx: >> void TMVA::Reader::AddVariable( const TString& expression, Double_t* >> datalink ) >> { >> DataInfo().AddVariable( expression, "", "", 0, 0, 'D', kFALSE >> ,(void*)datalink ); // <= should this be F or rather T? >> } >> >> let me know if this helps. >> >> cheers, >> Peter >> >> >> >> >> On Fri, Sep 30, 2016 at 1:10 PM Betty Calpas <bet...@ce...> >> wrote: >> >>> Dear, >>> >>> does anyone has an idea? >>> >>> Regards >>> >>> >>> -------- Forwarded Message -------- >>> Subject: reader->AddVariable(string, float) >>> Date: Fri, 30 Sep 2016 10:43:45 +0200 >>> From: Betty Calpas <bet...@ce...> <bet...@ce...> >>> To: tmv...@li... <tmv...@li...> >>> <tmv...@li...> >>> >>> Dear experts, >>> >>> The reader takes only float and int right? but in my tree I have double and >>> >>> int. I wonder how I can cast my double in the float? because if I do [1] >>> >>> I have the error message [2]. >>> >>> Regards >>> >>> >>> [1] >>> >>> Float_t pt_1; >>> >>> reader->AddVariable( "pt_1", &pt_1 ); >>> ... >>> >>> inputtree->SetBranchAddress( "pt_1", &pt_1 ); >>> >>> [2] >>> matching tree with reader variable >>> Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) >>> does not correspond to the type needed "Double_t" (8) by the branch: pt_1 >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> TMVA-users mailing list >>> TMV...@li... >>> https://lists.sourceforge.net/lists/listinfo/tmva-users >>> >> >> >> -- >> >> Cheers, >> Betty >> > > > -- > > Cheers, > Betty > |
From: Betty C. <bet...@ce...> - 2016-09-30 12:54:20
|
Dear Peter, yes this works. Regards On 9/30/16 2:50 PM, Peter Speckmayer wrote: > Hi Betty, > > If you use the official ROOT, then you have to copy 'by hand' from the > incoming double variable to another float variable. > > > something like: > > Float_t pt_1; > Double_t pt_1_d; > > reader->AddVariable( "pt_1", &pt_1 ); > ... > > inputtree->SetBranchAddress( "pt_1", &pt_1_d ); > > and in the event-copying loop you have to pt_1 = pt_1_d; > > cheers, > Peter > > > > On Fri, Sep 30, 2016 at 1:39 PM Betty Calpas <bet...@ce... > <mailto:bet...@ce...>> wrote: > > Hi Peter, > > thank you it help, but I do not understand why the AddVariable > can't make the "conversion". > > > Regards > > On 9/30/16 1:34 PM, Peter Speckmayer wrote: >> Hi Betty, >> >> Could you try to add a new version of "AddVariable" to the Reader? >> >> in Reader.h: >> void AddVariable( const TString& expression, Double_t* ); >> >> >> in Reader.cxx: >> void TMVA::Reader::AddVariable( const TString& expression, >> Double_t* datalink ) >> { >> DataInfo().AddVariable( expression, "", "", 0, 0, 'D', kFALSE >> ,(void*)datalink ); // <= should this be F or rather T? >> } >> >> let me know if this helps. >> >> cheers, >> Peter >> >> >> >> >> On Fri, Sep 30, 2016 at 1:10 PM Betty Calpas >> <bet...@ce... <mailto:bet...@ce...>> wrote: >> >> Dear, >> >> does anyone has an idea? >> >> Regards >> >> >> >> -------- Forwarded Message -------- >> Subject: reader->AddVariable(string, float) >> Date: Fri, 30 Sep 2016 10:43:45 +0200 >> From: Betty Calpas <bet...@ce...> >> <mailto:bet...@ce...> >> To: tmv...@li... >> <mailto:tmv...@li...> >> <tmv...@li...> >> <mailto:tmv...@li...> >> >> >> >> Dear experts, >> >> The reader takes only float and int right? but in my tree I have double and >> >> int. I wonder how I can cast my double in the float? because if I do [1] >> >> I have the error message [2]. >> >> Regards >> >> >> [1] >> >> Float_t pt_1; >> >> reader->AddVariable( "pt_1", &pt_1 ); >> ... >> >> inputtree->SetBranchAddress( "pt_1", &pt_1 ); >> >> [2] >> matching tree with reader variable >> Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) >> does not correspond to the type needed "Double_t" (8) by the branch: pt_1 >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> TMVA-users mailing list >> TMV...@li... >> <mailto:TMV...@li...> >> https://lists.sourceforge.net/lists/listinfo/tmva-users >> > > > -- > > Cheers, > Betty > -- Cheers, Betty |
From: Peter S. <pet...@gm...> - 2016-09-30 12:50:29
|
Hi Betty, If you use the official ROOT, then you have to copy 'by hand' from the incoming double variable to another float variable. something like: Float_t pt_1; Double_t pt_1_d; reader->AddVariable( "pt_1", &pt_1 ); ... inputtree->SetBranchAddress( "pt_1", &pt_1_d ); and in the event-copying loop you have to pt_1 = pt_1_d; cheers, Peter On Fri, Sep 30, 2016 at 1:39 PM Betty Calpas <bet...@ce...> wrote: > Hi Peter, > > thank you it help, but I do not understand why the AddVariable can't make > the "conversion". > > > Regards > > On 9/30/16 1:34 PM, Peter Speckmayer wrote: > > Hi Betty, > > Could you try to add a new version of "AddVariable" to the Reader? > > in Reader.h: > void AddVariable( const TString& expression, Double_t* ); > > > in Reader.cxx: > void TMVA::Reader::AddVariable( const TString& expression, Double_t* > datalink ) > { > DataInfo().AddVariable( expression, "", "", 0, 0, 'D', kFALSE > ,(void*)datalink ); // <= should this be F or rather T? > } > > let me know if this helps. > > cheers, > Peter > > > > > On Fri, Sep 30, 2016 at 1:10 PM Betty Calpas <bet...@ce...> wrote: > >> Dear, >> >> does anyone has an idea? >> >> Regards >> >> >> -------- Forwarded Message -------- >> Subject: reader->AddVariable(string, float) >> Date: Fri, 30 Sep 2016 10:43:45 +0200 >> From: Betty Calpas <bet...@ce...> <bet...@ce...> >> To: tmv...@li... <tmv...@li...> >> <tmv...@li...> >> >> Dear experts, >> >> The reader takes only float and int right? but in my tree I have double and >> >> int. I wonder how I can cast my double in the float? because if I do [1] >> >> I have the error message [2]. >> >> Regards >> >> >> [1] >> >> Float_t pt_1; >> >> reader->AddVariable( "pt_1", &pt_1 ); >> ... >> >> inputtree->SetBranchAddress( "pt_1", &pt_1 ); >> >> [2] >> matching tree with reader variable >> Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) >> does not correspond to the type needed "Double_t" (8) by the branch: pt_1 >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> TMVA-users mailing list >> TMV...@li... >> https://lists.sourceforge.net/lists/listinfo/tmva-users >> > > > -- > > Cheers, > Betty > |
From: Betty C. <bet...@ce...> - 2016-09-30 11:39:21
|
Hi Peter, thank you it help, but I do not understand why the AddVariable can't make the "conversion". Regards On 9/30/16 1:34 PM, Peter Speckmayer wrote: > Hi Betty, > > Could you try to add a new version of "AddVariable" to the Reader? > > in Reader.h: > void AddVariable( const TString& expression, Double_t* ); > > > in Reader.cxx: > void TMVA::Reader::AddVariable( const TString& expression, Double_t* > datalink ) > { > DataInfo().AddVariable( expression, "", "", 0, 0, 'D', kFALSE > ,(void*)datalink ); // <= should this be F or rather T? > } > > let me know if this helps. > > cheers, > Peter > > > > > On Fri, Sep 30, 2016 at 1:10 PM Betty Calpas <bet...@ce... > <mailto:bet...@ce...>> wrote: > > Dear, > > does anyone has an idea? > > Regards > > > > -------- Forwarded Message -------- > Subject: reader->AddVariable(string, float) > Date: Fri, 30 Sep 2016 10:43:45 +0200 > From: Betty Calpas <bet...@ce...> > <mailto:bet...@ce...> > To: tmv...@li... > <mailto:tmv...@li...> > <tmv...@li...> > <mailto:tmv...@li...> > > > > Dear experts, > > The reader takes only float and int right? but in my tree I have double and > > int. I wonder how I can cast my double in the float? because if I do [1] > > I have the error message [2]. > > Regards > > > [1] > > Float_t pt_1; > > reader->AddVariable( "pt_1", &pt_1 ); > ... > > inputtree->SetBranchAddress( "pt_1", &pt_1 ); > > [2] > matching tree with reader variable > Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) > does not correspond to the type needed "Double_t" (8) by the branch: pt_1 > > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > <mailto:TMV...@li...> > https://lists.sourceforge.net/lists/listinfo/tmva-users > -- Cheers, Betty |
From: Betty C. <bet...@ce...> - 2016-09-30 11:37:23
|
Hi Peter, I'm running directly from ROOT, should I can't change the method right? Regards On 9/30/16 1:34 PM, Peter Speckmayer wrote: > Hi Betty, > > Could you try to add a new version of "AddVariable" to the Reader? > > in Reader.h: > void AddVariable( const TString& expression, Double_t* ); > > > in Reader.cxx: > void TMVA::Reader::AddVariable( const TString& expression, Double_t* > datalink ) > { > DataInfo().AddVariable( expression, "", "", 0, 0, 'D', kFALSE > ,(void*)datalink ); // <= should this be F or rather T? > } > > let me know if this helps. > > cheers, > Peter > > > > > On Fri, Sep 30, 2016 at 1:10 PM Betty Calpas <bet...@ce... > <mailto:bet...@ce...>> wrote: > > Dear, > > does anyone has an idea? > > Regards > > > > -------- Forwarded Message -------- > Subject: reader->AddVariable(string, float) > Date: Fri, 30 Sep 2016 10:43:45 +0200 > From: Betty Calpas <bet...@ce...> > <mailto:bet...@ce...> > To: tmv...@li... > <mailto:tmv...@li...> > <tmv...@li...> > <mailto:tmv...@li...> > > > > Dear experts, > > The reader takes only float and int right? but in my tree I have double and > > int. I wonder how I can cast my double in the float? because if I do [1] > > I have the error message [2]. > > Regards > > > [1] > > Float_t pt_1; > > reader->AddVariable( "pt_1", &pt_1 ); > ... > > inputtree->SetBranchAddress( "pt_1", &pt_1 ); > > [2] > matching tree with reader variable > Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) > does not correspond to the type needed "Double_t" (8) by the branch: pt_1 > > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > <mailto:TMV...@li...> > https://lists.sourceforge.net/lists/listinfo/tmva-users > -- Cheers, Betty |
From: Peter S. <pet...@gm...> - 2016-09-30 11:34:36
|
Hi Betty, Could you try to add a new version of "AddVariable" to the Reader? in Reader.h: void AddVariable( const TString& expression, Double_t* ); in Reader.cxx: void TMVA::Reader::AddVariable( const TString& expression, Double_t* datalink ) { DataInfo().AddVariable( expression, "", "", 0, 0, 'D', kFALSE ,(void*)datalink ); // <= should this be F or rather T? } let me know if this helps. cheers, Peter On Fri, Sep 30, 2016 at 1:10 PM Betty Calpas <bet...@ce...> wrote: > Dear, > > does anyone has an idea? > > Regards > > > -------- Forwarded Message -------- > Subject: reader->AddVariable(string, float) > Date: Fri, 30 Sep 2016 10:43:45 +0200 > From: Betty Calpas <bet...@ce...> <bet...@ce...> > To: tmv...@li... <tmv...@li...> > <tmv...@li...> > > Dear experts, > > The reader takes only float and int right? but in my tree I have double and > > int. I wonder how I can cast my double in the float? because if I do [1] > > I have the error message [2]. > > Regards > > > [1] > > Float_t pt_1; > > reader->AddVariable( "pt_1", &pt_1 ); > ... > > inputtree->SetBranchAddress( "pt_1", &pt_1 ); > > [2] > matching tree with reader variable > Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) > does not correspond to the type needed "Double_t" (8) by the branch: pt_1 > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > https://lists.sourceforge.net/lists/listinfo/tmva-users > |
From: Betty C. <bet...@ce...> - 2016-09-30 11:09:33
|
Dear, does anyone has an idea? Regards -------- Forwarded Message -------- Subject: reader->AddVariable(string, float) Date: Fri, 30 Sep 2016 10:43:45 +0200 From: Betty Calpas <bet...@ce...> To: tmv...@li... <tmv...@li...> Dear experts, The reader takes only float and int right? but in my tree I have double and int. I wonder how I can cast my double in the float? because if I do [1] I have the error message [2]. Regards [1] Float_t pt_1; reader->AddVariable( "pt_1", &pt_1 ); ... inputtree->SetBranchAddress( "pt_1", &pt_1 ); [2] matching tree with reader variable Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) does not correspond to the type needed "Double_t" (8) by the branch: pt_1 |
From: Betty C. <bet...@ce...> - 2016-09-30 09:57:48
|
Dear experts, The reader takes only float and int right? but in my tree I have double and int. I wonder how I can cast my double in the float? because if I do [1] I have the error message [2]. Regards [1] Float_t pt_1; reader->AddVariable( "pt_1", &pt_1 ); ... inputtree->SetBranchAddress( "pt_1", &pt_1 ); [2] matching tree with reader variable Error in <TTree::SetBranchAddress>: The pointer type given "Float_t" (5) does not correspond to the type needed "Double_t" (8) by the branch: pt_1 |
From: Betty C. <bet...@ce...> - 2016-09-27 09:39:58
|
Dear Peter, thank you for your answer. when I used [1] I have the error message [2]. In my Makefile I used 2 TMVA libraries [3], is one missing? Regards [1] (TMVA::gConfig().GetIONames()).fWeightFileDir = "myWeightDirectory"; [2] main.cc:125:7: error: 'gConfig' is not a member of 'TMVA' (TMVA::gConfig().GetIONames()).fWeightFileDir = dir+"_weights"; On 9/27/16 9:30 AM, Peter Speckmayer wrote: [3] -lTMVA -lTMVAGui > Hi, > > Please try: > > // If you wish to modify default settings > > // (please check "src/Config.h" to see all available global options) > > // > > // (TMVA::gConfig().GetVariablePlotting()).fTimesRMS = 8.0; > > // (TMVA::gConfig().GetIONames()).fWeightFileDir = "myWeightDirectory"; > > from the tutorial TMVAClassification.C > > Cheers, > Peter > > > Betty Calpas <bet...@ce... <mailto:bet...@ce...>> > schrieb am Di., 27. Sep. 2016, 08:52: > > Dear experts, > > any idea? > > Regards > > > > -------- Forwarded Message -------- > Subject: Give a specific path to weight file > Date: Mon, 26 Sep 2016 14:57:41 +0200 > From: Betty Calpas <bet...@ce...> > <mailto:bet...@ce...> > To: tmv...@li... > <mailto:tmv...@li...> > <tmv...@li...> > <mailto:tmv...@li...> > > > > Dear experts, > > when I run TMVAClassification.C, it creates a weight directory > > in the current directory and put the weight file there. I wonder > > how I could set a specific path to write the weight files? > > Regards > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > <mailto:TMV...@li...> > https://lists.sourceforge.net/lists/listinfo/tmva-users > -- Cheers, Betty |
From: Peter S. <pet...@gm...> - 2016-09-27 07:30:39
|
Hi, Please try: // If you wish to modify default settings // (please check "src/Config.h" to see all available global options) // // (TMVA::gConfig().GetVariablePlotting()).fTimesRMS = 8.0; // (TMVA::gConfig().GetIONames()).fWeightFileDir = "myWeightDirectory"; from the tutorial TMVAClassification.C Cheers, Peter Betty Calpas <bet...@ce...> schrieb am Di., 27. Sep. 2016, 08:52: > Dear experts, > > any idea? > > Regards > > > -------- Forwarded Message -------- > Subject: Give a specific path to weight file > Date: Mon, 26 Sep 2016 14:57:41 +0200 > From: Betty Calpas <bet...@ce...> <bet...@ce...> > To: tmv...@li... <tmv...@li...> > <tmv...@li...> > > Dear experts, > > when I run TMVAClassification.C, it creates a weight directory > > in the current directory and put the weight file there. I wonder > > how I could set a specific path to write the weight files? > > Regards > > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > https://lists.sourceforge.net/lists/listinfo/tmva-users > |
From: Betty C. <bet...@ce...> - 2016-09-27 06:51:32
|
Dear experts, any idea? Regards -------- Forwarded Message -------- Subject: Give a specific path to weight file Date: Mon, 26 Sep 2016 14:57:41 +0200 From: Betty Calpas <bet...@ce...> To: tmv...@li... <tmv...@li...> Dear experts, when I run TMVAClassification.C, it creates a weight directory in the current directory and put the weight file there. I wonder how I could set a specific path to write the weight files? Regards |
From: Betty C. <bet...@ce...> - 2016-09-26 13:56:26
|
Dear experts, when I run TMVAClassification.C, it creates a weight directory in the current directory and put the weight file there. I wonder how I could set a specific path to write the weight files? Regards |
From: Betty C. <bet...@ce...> - 2016-09-26 08:42:08
|
Dear Peter, thank you for your answer. Please correct me if I'm wrong. You mean that I can train only sample_1 vs sample_2, and so if I want to do at the same time sample_1 vs sample_2 and sample_2 vs sample_3 it is not possible, I'll have to do it in 2 steps. Regards On 9/26/16 10:03 AM, Peter Speckmayer wrote: > Hi, > > With multiclass (for the methods which support it) the training is: > each class against the sum of all other classes. Not exactly what you > want, but maybe you can work with that. > > cheers, > Peter > > > On Mon, Sep 26, 2016 at 9:32 AM Betty Calpas <bet...@ce... > <mailto:bet...@ce...>> wrote: > > Dear experts, > > does anyone know if this is possible? > > Regards > > > > -------- Forwarded Message -------- > Subject: Is it possible to train MVA again a single bkg at a time > Date: Wed, 21 Sep 2016 09:47:51 +0200 > From: Betty Calpas <bet...@ce...> > <mailto:bet...@ce...> > To: tmv...@li... > <mailto:tmv...@li...> > <tmv...@li...> > <mailto:tmv...@li...> > > > > Dear experts, > > from TMVAClassification.C you train the MVA for signal > > against the bkgs (bkg1+bkg2 for example), then we have a 1D output file. > > I wonder if I could train in "one go" the MVA for: > > bkg1 against bkg2 > > bkg2 against signal > > such that I have a 2D ouput file then when I apply a BDT cuts_1 it kills the > > bkg1, and when I apply the BDT cuts_2, it kills the bkg2? > > - I guess I could do this by running 2 times the TMVAClassification.C, > but I wonder > > if it is possible to do this in 1 time? > > Regards > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > <mailto:TMV...@li...> > https://lists.sourceforge.net/lists/listinfo/tmva-users > -- Cheers, Betty |
From: Peter S. <pet...@gm...> - 2016-09-26 08:03:30
|
Hi, With multiclass (for the methods which support it) the training is: each class against the sum of all other classes. Not exactly what you want, but maybe you can work with that. cheers, Peter On Mon, Sep 26, 2016 at 9:32 AM Betty Calpas <bet...@ce...> wrote: > Dear experts, > > does anyone know if this is possible? > > Regards > > > -------- Forwarded Message -------- > Subject: Is it possible to train MVA again a single bkg at a time > Date: Wed, 21 Sep 2016 09:47:51 +0200 > From: Betty Calpas <bet...@ce...> <bet...@ce...> > To: tmv...@li... <tmv...@li...> > <tmv...@li...> > > Dear experts, > > from TMVAClassification.C you train the MVA for signal > > against the bkgs (bkg1+bkg2 for example), then we have a 1D output file. > > I wonder if I could train in "one go" the MVA for: > > bkg1 against bkg2 > > bkg2 against signal > > such that I have a 2D ouput file then when I apply a BDT cuts_1 it kills the > > bkg1, and when I apply the BDT cuts_2, it kills the bkg2? > > - I guess I could do this by running 2 times the TMVAClassification.C, > but I wonder > > if it is possible to do this in 1 time? > > Regards > > > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > https://lists.sourceforge.net/lists/listinfo/tmva-users > |
From: Betty C. <bet...@ce...> - 2016-09-26 07:31:59
|
Dear experts, does anyone know if this is possible? Regards -------- Forwarded Message -------- Subject: Is it possible to train MVA again a single bkg at a time Date: Wed, 21 Sep 2016 09:47:51 +0200 From: Betty Calpas <bet...@ce...> To: tmv...@li... <tmv...@li...> Dear experts, from TMVAClassification.C you train the MVA for signal against the bkgs (bkg1+bkg2 for example), then we have a 1D output file. I wonder if I could train in "one go" the MVA for: bkg1 against bkg2 bkg2 against signal such that I have a 2D ouput file then when I apply a BDT cuts_1 it kills the bkg1, and when I apply the BDT cuts_2, it kills the bkg2? - I guess I could do this by running 2 times the TMVAClassification.C, but I wonder if it is possible to do this in 1 time? Regards |
From: Betty C. <bet...@ce...> - 2016-09-23 06:37:24
|
Dear Helge, ok, thank you for your answer. Regards On 9/22/16 6:47 PM, Helge Voss wrote: > Hi Betty, > > that has not been forseen ... I guess you'd have to 'copy' the macro > code and write something customized for your needs. > > Cheers, > > Hekge > > > On 22 September 2016 at 16:51, Betty Calpas <bet...@ce...> wrote: >> Dear experts, >> >> I want to plot the figure of merit (FOM) vs the BDT cuts for number of >> signal and bkg. TMVA::Gui does that and mvaeffs allows you to change the >> FOM definition, but I wonder how I can enter the number of signal and >> bkg, not via the screen that pops up, but in the code itself? >> >> Regards >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> TMVA-users mailing list >> TMV...@li... >> https://lists.sourceforge.net/lists/listinfo/tmva-users -- Cheers, Betty |
From: Betty C. <bet...@ce...> - 2016-09-22 16:51:28
|
Dear Helge, ok, thank you for your answer. Regards On 9/22/16 6:47 PM, Helge Voss wrote: > Hi Betty, > > that has not been forseen ... I guess you'd have to 'copy' the macro > code and write something customized for your needs. > > Cheers, > > Hekge > > > On 22 September 2016 at 16:51, Betty Calpas <bet...@ce...> wrote: >> Dear experts, >> >> I want to plot the figure of merit (FOM) vs the BDT cuts for number of >> signal and bkg. TMVA::Gui does that and mvaeffs allows you to change the >> FOM definition, but I wonder how I can enter the number of signal and >> bkg, not via the screen that pops up, but in the code itself? >> >> Regards >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> TMVA-users mailing list >> TMV...@li... >> https://lists.sourceforge.net/lists/listinfo/tmva-users -- Cheers, Betty |
From: Helge V. <Hel...@ce...> - 2016-09-22 16:48:05
|
Hi Betty, that has not been forseen ... I guess you'd have to 'copy' the macro code and write something customized for your needs. Cheers, Hekge On 22 September 2016 at 16:51, Betty Calpas <bet...@ce...> wrote: > Dear experts, > > I want to plot the figure of merit (FOM) vs the BDT cuts for number of > signal and bkg. TMVA::Gui does that and mvaeffs allows you to change the > FOM definition, but I wonder how I can enter the number of signal and > bkg, not via the screen that pops up, but in the code itself? > > Regards > > > > ------------------------------------------------------------------------------ > _______________________________________________ > TMVA-users mailing list > TMV...@li... > https://lists.sourceforge.net/lists/listinfo/tmva-users |
From: Betty C. <bet...@ce...> - 2016-09-22 15:50:01
|
Dear experts, I want to plot the figure of merit (FOM) vs the BDT cuts for number of signal and bkg. TMVA::Gui does that and mvaeffs allows you to change the FOM definition, but I wonder how I can enter the number of signal and bkg, not via the screen that pops up, but in the code itself? Regards |
From: Betty C. <bet...@ce...> - 2016-09-21 09:01:55
|
Dear experts, from TMVAClassification.C you train the MVA for signal against the bkgs (bkg1+bkg2 for example), then we have a 1D output file. I wonder if I could train in "one go" the MVA for: bkg1 against bkg2 bkg2 against signal such that I have a 2D ouput file then when I apply a BDT cuts_1 it kills the bkg1, and when I apply the BDT cuts_2, it kills the bkg2? - I guess I could do this by running 2 times the TMVAClassification.C, but I wonder if it is possible to do this in 1 time? Regards |
From: Betty C. <bet...@ce...> - 2016-09-20 12:31:45
|
Dear Helge, ok, thank you for clarifying. Regards On 9/20/16 2:02 PM, Helge Voss wrote: > Hi Betty, > > these two weight are in the end treated the same, but > >> line 223 for the methods AddSignalTree(trees, weight) I wonder what "weight" > applies the same weight to all event in the tree (typically used to > reweight to same 'luminosity' or equal number of training events in > signal and background > > while > > >> method SetBackgroundWeightExpression(weight), what is this new weight? > allows you to set an event weight individually for each event. > "weight" here is an expression/variable in your training tree. > > These are tyipcally used if you have have a Monte Carlo generator that > produces 'weighted events' ... > > If both weights are present ... they are in the end multiplied ... > > Cheers, > Helge > > > >> - So are these weight different? if yes they refers to what? if not, should >> we apply the weight only in one of these methods? >> >> Regards >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> TMVA-users mailing list >> TMV...@li... >> https://lists.sourceforge.net/lists/listinfo/tmva-users >> -- Cheers, Betty |
From: Betty C. <bet...@ce...> - 2016-09-20 12:14:51
|
Dear experts, I want to compile the TMVAClassification() in my main.cc[1] using a Makefile [2] but I git the error message [3]. Is some TMVA library missing in my Makefile? Regards [1] http://calpas.web.cern.ch/calpas/main.cc [2] http://calpas.web.cern.ch/calpas/Makefile [3] In function `TMVAClassification(TString)': main.cc:(.text+0x979): undefined reference to `TMVA::Tools::Instance()' collect2: error: ld returned 1 exit status Makefile:10: recipe for target 'do.exe' failed make: *** [do.exe] Error 1 |