Execution Time1.82s

Test: gtest-tmva-tmva-test-envelope-TMVA-Classification (Passed)
Build: v6-18-00-patches-x86_64-ubuntu19-gcc8-opt (root-ubuntu1904-1) on 2020-01-25 00:46:49
Repository revision: 0a774756bda016f71683da97dbc82f76bc082689

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Running main() from gtest_main.cc
[==========] Running 2 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 1 test from ClassifierTest1
[ RUN      ] ClassifierTest1.BasicTests
Info in <TFile::OpenFromCache>: using local cache copy of http://root.cern.ch/files/tmva_class_example.root [./files/tmva_class_example.root]
DataSetInfo              : [dataset] : Added class "Signal"
                         : Add Tree TreeS of type Signal with 6000 events
DataSetInfo              : [dataset] : Added class "Background"
                         : Add Tree TreeB of type Background with 6000 events
<HEADER>                          : Loading booked method: BDT BDTB
                         : 
<HEADER> DataSetFactory           : [dataset] : Number of events in input trees
                         : 
                         : 
                         : Number of training and testing events
                         : ---------------------------------------------------------------------------
                         : Signal     -- training events            : 1000
                         : Signal     -- testing events             : 5000
                         : Signal     -- training and testing events: 6000
                         : Background -- training events            : 1000
                         : Background -- testing events             : 5000
                         : Background -- training and testing events: 6000
                         : 
<HEADER> DataSetInfo              : Correlation matrix (Signal):
                         : ----------------------------------------------
                         :            var1+var2 var1-var2    var3    var4
                         : var1+var2:    +1.000    +0.038  +0.748  +0.922
                         : var1-var2:    +0.038    +1.000  -0.058  +0.128
                         :      var3:    +0.748    -0.058  +1.000  +0.831
                         :      var4:    +0.922    +0.128  +0.831  +1.000
                         : ----------------------------------------------
<HEADER> DataSetInfo              : Correlation matrix (Background):
                         : ----------------------------------------------
                         :            var1+var2 var1-var2    var3    var4
                         : var1+var2:    +1.000    -0.021  +0.783  +0.931
                         : var1-var2:    -0.021    +1.000  -0.162  +0.057
                         :      var3:    +0.783    -0.162  +1.000  +0.841
                         :      var4:    +0.931    +0.057  +0.841  +1.000
                         : ----------------------------------------------
<HEADER> DataSetFactory           : [dataset] :  
                         : 
<HEADER>                          : Training method BDT BDTB
<HEADER>                          : Train method: BDTB for Classification
                         : 
<HEADER> BDTB                     : #events: (reweighted) sig: 1000 bkg: 1000
                         : #events: (unweighted) sig: 1000 bkg: 1000
                         : Training 100 Decision Trees ... patience please
1%, time left: unknown
8%, time left: 0 sec
14%, time left: 0 sec
20%, time left: 0 sec
26%, time left: 0 sec
33%, time left: 0 sec
39%, time left: 0 sec
45%, time left: 0 sec
51%, time left: 0 sec
58%, time left: 0 sec
64%, time left: 0 sec
70%, time left: 0 sec
76%, time left: 0 sec
83%, time left: 0 sec
89%, time left: 0 sec
95%, time left: 0 sec
                         : Elapsed time for training with 2000 events: 0.0767 sec         
<HEADER> BDTB                     : [dataset] : Evaluation of BDTB on training sample (2000 events)
0%, time left: unknown
7%, time left: 0 sec
13%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
32%, time left: 0 sec
38%, time left: 0 sec
44%, time left: 0 sec
50%, time left: 0 sec
57%, time left: 0 sec
63%, time left: 0 sec
69%, time left: 0 sec
75%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
94%, time left: 0 sec
                         : Elapsed time for evaluation of 2000 events: 0.00714 sec       
                         : Creating xml weight file: dataset/weights/Classification_BDTB.weights.xml
                         : Creating standalone class: dataset/weights/Classification_BDTB.class.C
<HEADER>                          : Training finished
                         : 
<HEADER>                          : Test all methods
<HEADER>                          : Test method: BDTB for Classification performance
                         : 
<HEADER> BDTB                     : [dataset] : Evaluation of BDTB on testing sample (10000 events)
0%, time left: unknown
7%, time left: 0 sec
13%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
32%, time left: 0 sec
38%, time left: 0 sec
44%, time left: 0 sec
50%, time left: 0 sec
57%, time left: 0 sec
63%, time left: 0 sec
69%, time left: 0 sec
75%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
94%, time left: 0 sec
                         : Elapsed time for evaluation of 10000 events: 0.0341 sec       
<HEADER>                          : Evaluate classifier: BDTB
                         : 
<HEADER> BDTB                     : [dataset] : Loop over test events and fill histograms with classifier response...
                         : 
                         : 
                         : Evaluation results ranked by best signal efficiency and purity (area)
                         : -------------------------------------------------------------------------------------------------------------------
                         : DataSet       MVA                       
                         : Name:         Method:          ROC-integ
                         : dataset       BDTB           : 0.848
                         : -------------------------------------------------------------------------------------------------------------------
                         : 
                         : Testing efficiency compared to training efficiency (overtraining check)
                         : -------------------------------------------------------------------------------------------------------------------
                         : DataSet              MVA              Signal efficiency: from test sample (from training sample) 
                         : Name:                Method:          @B=0.01             @B=0.10            @B=0.30   
                         : -------------------------------------------------------------------------------------------------------------------
                         : dataset              BDTB           : 0.000 (0.000)       0.615 (0.614)      0.837 (0.842)
                         : -------------------------------------------------------------------------------------------------------------------
                         : 
<HEADER>                          : Loading booked method: BDT BDTG
                         : 
<HEADER>                          : Training method BDT BDTG
<HEADER>                          : Train method: BDTG for Classification
                         : 
<HEADER> BDTG                     : #events: (reweighted) sig: 1000 bkg: 1000
                         : #events: (unweighted) sig: 1000 bkg: 1000
                         : Training 100 Decision Trees ... patience please
1%, time left: unknown
8%, time left: 0 sec
14%, time left: 0 sec
20%, time left: 0 sec
26%, time left: 0 sec
33%, time left: 0 sec
39%, time left: 0 sec
45%, time left: 0 sec
51%, time left: 0 sec
58%, time left: 0 sec
64%, time left: 0 sec
70%, time left: 0 sec
76%, time left: 0 sec
83%, time left: 0 sec
89%, time left: 0 sec
95%, time left: 0 sec
                         : Elapsed time for training with 2000 events: 0.11 sec         
<HEADER> BDTG                     : [dataset] : Evaluation of BDTG on training sample (2000 events)
0%, time left: unknown
7%, time left: 0 sec
13%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
32%, time left: 0 sec
38%, time left: 0 sec
44%, time left: 0 sec
50%, time left: 0 sec
57%, time left: 0 sec
63%, time left: 0 sec
69%, time left: 0 sec
75%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
94%, time left: 0 sec
                         : Elapsed time for evaluation of 2000 events: 0.00989 sec       
                         : Creating xml weight file: dataset/weights/Classification_BDTG.weights.xml
                         : Creating standalone class: dataset/weights/Classification_BDTG.class.C
<HEADER>                          : Training finished
                         : 
<HEADER>                          : Test all methods
<HEADER>                          : Test method: BDTG for Classification performance
                         : 
<HEADER> BDTG                     : [dataset] : Evaluation of BDTG on testing sample (10000 events)
0%, time left: unknown
7%, time left: 0 sec
13%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
32%, time left: 0 sec
38%, time left: 0 sec
44%, time left: 0 sec
50%, time left: 0 sec
57%, time left: 0 sec
63%, time left: 0 sec
69%, time left: 0 sec
75%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
94%, time left: 0 sec
                         : Elapsed time for evaluation of 10000 events: 0.0477 sec       
<HEADER>                          : Evaluate classifier: BDTG
                         : 
<HEADER> BDTG                     : [dataset] : Loop over test events and fill histograms with classifier response...
                         : 
                         : 
                         : Evaluation results ranked by best signal efficiency and purity (area)
                         : -------------------------------------------------------------------------------------------------------------------
                         : DataSet       MVA                       
                         : Name:         Method:          ROC-integ
                         : dataset       BDTG           : 0.901
                         : -------------------------------------------------------------------------------------------------------------------
                         : 
                         : Testing efficiency compared to training efficiency (overtraining check)
                         : -------------------------------------------------------------------------------------------------------------------
                         : DataSet              MVA              Signal efficiency: from test sample (from training sample) 
                         : Name:                Method:          @B=0.01             @B=0.10            @B=0.30   
                         : -------------------------------------------------------------------------------------------------------------------
                         : dataset              BDTG           : 0.242 (0.470)       0.738 (0.783)      0.901 (0.916)
                         : -------------------------------------------------------------------------------------------------------------------
                         : 
[       OK ] ClassifierTest1.BasicTests (1200 ms)
[----------] 1 test from ClassifierTest1 (1200 ms total)

[----------] 1 test from ClassifierTest2
[ RUN      ] ClassifierTest2.TestsOverOutput
Info in <TFile::OpenFromCache>: using local cache copy of http://root.cern.ch/files/tmva_class_example.root [./files/tmva_class_example.root]
<HEADER> DataSetInfo              : [dataset] : Added class "Signal"
                         : Add Tree TreeS of type Signal with 6000 events
<HEADER> DataSetInfo              : [dataset] : Added class "Background"
                         : Add Tree TreeB of type Background with 6000 events
<HEADER>                          : Loading booked method: BDT BDTB
                         : 
<HEADER> DataSetFactory           : [dataset] : Number of events in input trees
                         : 
                         : 
                         : Number of training and testing events
                         : ---------------------------------------------------------------------------
                         : Signal     -- training events            : 1000
                         : Signal     -- testing events             : 5000
                         : Signal     -- training and testing events: 6000
                         : Background -- training events            : 1000
                         : Background -- testing events             : 5000
                         : Background -- training and testing events: 6000
                         : 
<HEADER> DataSetInfo              : Correlation matrix (Signal):
                         : ----------------------------------------------
                         :            var1+var2 var1-var2    var3    var4
                         : var1+var2:    +1.000    +0.038  +0.748  +0.922
                         : var1-var2:    +0.038    +1.000  -0.058  +0.128
                         :      var3:    +0.748    -0.058  +1.000  +0.831
                         :      var4:    +0.922    +0.128  +0.831  +1.000
                         : ----------------------------------------------
<HEADER> DataSetInfo              : Correlation matrix (Background):
                         : ----------------------------------------------
                         :            var1+var2 var1-var2    var3    var4
                         : var1+var2:    +1.000    -0.021  +0.783  +0.931
                         : var1-var2:    -0.021    +1.000  -0.162  +0.057
                         :      var3:    +0.783    -0.162  +1.000  +0.841
                         :      var4:    +0.931    +0.057  +0.841  +1.000
                         : ----------------------------------------------
<HEADER> DataSetFactory           : [dataset] :  
                         : 
<HEADER>                          : Training method BDT BDTB
<HEADER>                          : Train method: BDTB for Classification
                         : 
<HEADER> BDTB                     : #events: (reweighted) sig: 1000 bkg: 1000
                         : #events: (unweighted) sig: 1000 bkg: 1000
                         : Training 100 Decision Trees ... patience please
1%, time left: unknown
8%, time left: 0 sec
14%, time left: 0 sec
20%, time left: 0 sec
26%, time left: 0 sec
33%, time left: 0 sec
39%, time left: 0 sec
45%, time left: 0 sec
51%, time left: 0 sec
58%, time left: 0 sec
64%, time left: 0 sec
70%, time left: 0 sec
76%, time left: 0 sec
83%, time left: 0 sec
89%, time left: 0 sec
95%, time left: 0 sec
                         : Elapsed time for training with 2000 events: 0.0782 sec         
<HEADER> BDTB                     : [dataset] : Evaluation of BDTB on training sample (2000 events)
0%, time left: unknown
7%, time left: 0 sec
13%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
32%, time left: 0 sec
38%, time left: 0 sec
44%, time left: 0 sec
50%, time left: 0 sec
57%, time left: 0 sec
63%, time left: 0 sec
69%, time left: 0 sec
75%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
94%, time left: 0 sec
                         : Elapsed time for evaluation of 2000 events: 0.00718 sec       
                         : Creating xml weight file: dataset/weights/Classification_BDTB.weights.xml
                         : Creating standalone class: dataset/weights/Classification_BDTB.class.C
                         : TMVAtmp1.root:/dataset/Method_BDT/BDTB
<HEADER>                          : Training finished
                         : 
<HEADER>                          : Test all methods
<HEADER>                          : Test method: BDTB for Classification performance
                         : 
<HEADER> BDTB                     : [dataset] : Evaluation of BDTB on testing sample (10000 events)
0%, time left: unknown
7%, time left: 0 sec
13%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
32%, time left: 0 sec
38%, time left: 0 sec
44%, time left: 0 sec
50%, time left: 0 sec
57%, time left: 0 sec
63%, time left: 0 sec
69%, time left: 0 sec
75%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
94%, time left: 0 sec
                         : Elapsed time for evaluation of 10000 events: 0.034 sec       
<HEADER>                          : Evaluate classifier: BDTB
                         : 
<HEADER> BDTB                     : [dataset] : Loop over test events and fill histograms with classifier response...
                         : 
<HEADER> TFHandler_BDTB           : Variable        Mean        RMS   [        Min        Max ]
                         : -----------------------------------------------------------
                         :   myvar1:    0.21781     1.7248   [    -9.8605     7.9024 ]
                         :   myvar2:  -0.062175     1.1106   [    -4.0854     4.0259 ]
                         :     var3:    0.16451     1.0589   [    -5.3563     4.6422 ]
                         :     var4:    0.43566     1.2253   [    -6.9675     5.0307 ]
                         : -----------------------------------------------------------
                         : 
                         : Evaluation results ranked by best signal efficiency and purity (area)
                         : -------------------------------------------------------------------------------------------------------------------
                         : DataSet       MVA                       
                         : Name:         Method:          ROC-integ
                         : dataset       BDTB           : 0.848
                         : -------------------------------------------------------------------------------------------------------------------
                         : 
                         : Testing efficiency compared to training efficiency (overtraining check)
                         : -------------------------------------------------------------------------------------------------------------------
                         : DataSet              MVA              Signal efficiency: from test sample (from training sample) 
                         : Name:                Method:          @B=0.01             @B=0.10            @B=0.30   
                         : -------------------------------------------------------------------------------------------------------------------
                         : dataset              BDTB           : 0.000 (0.000)       0.615 (0.614)      0.837 (0.842)
                         : -------------------------------------------------------------------------------------------------------------------
                         : 
<HEADER> Dataset:dataset          : Created tree 'TestTree' with 10000 events
                         : 
<HEADER> Dataset:dataset          : Created tree 'TrainTree' with 2000 events
                         : 
[       OK ] ClassifierTest2.TestsOverOutput (554 ms)
[----------] 1 test from ClassifierTest2 (554 ms total)

[----------] Global test environment tear-down
[==========] 2 tests from 2 test cases ran. (1754 ms total)
[  PASSED  ] 2 tests.