Execution Time15.74s

Test: tutorial-tmva-TMVARegression (Passed)
Build: v6-18-00-patches-x86_64-ubuntu18-clang91-opt (sft-ubuntu-1804-3) on 2019-11-13 23:22:41
Repository revision: 869553a4dd0f00a0fc618d6e9d1fbdd66c820707

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
Processing /mnt/build/night/LABEL/ROOT-ubuntu1804-clangHEAD/SPEC/cxxmod-noimt/V/6-18/root/tutorials/tmva/TMVARegression.C...

==> Start TMVARegression
[TFile::Cp] Total 0.11 MB	|>...................| 0.00 % [0.0 MB/s][TFile::Cp] Total 0.11 MB	|====================| 100.00 % [51.8 MB/s]
Info in <TFile::OpenFromCache>: using local cache copy of http://root.cern.ch/files/tmva_reg_example.root [./files/tmva_reg_example.root]
--- TMVARegression           : Using input file: ./files/tmva_reg_example.root
DataSetInfo              : [dataset] : Added class "Regression"
                         : Add Tree TreeR of type Regression with 10000 events
                         : Dataset[dataset] : Class index : 0  name : Regression
Factory                  : Booking method: [NON-XML-CHAR-0x1B][1mPDEFoam[NON-XML-CHAR-0x1B][0m
                         : 
DataSetFactory           : [dataset] : Number of events in input trees
                         : 
                         : Number of training and testing events
                         : ---------------------------------------------------------------------------
                         : Regression -- training events            : 1000
                         : Regression -- testing events             : 9000
                         : Regression -- training and testing events: 10000
                         : 
DataSetInfo              : Correlation matrix (Regression):
                         : ------------------------
                         :             var1    var2
                         :    var1:  +1.000  +0.006
                         :    var2:  +0.006  +1.000
                         : ------------------------
DataSetFactory           : [dataset] :  
                         : 
Factory                  : Booking method: [NON-XML-CHAR-0x1B][1mKNN[NON-XML-CHAR-0x1B][0m
                         : 
Factory                  : Booking method: [NON-XML-CHAR-0x1B][1mLD[NON-XML-CHAR-0x1B][0m
                         : 
Factory                  : Booking method: [NON-XML-CHAR-0x1B][1mBDTG[NON-XML-CHAR-0x1B][0m
                         : 
<WARNING>                : Value for option maxdepth was previously set to 3
                         : the option NegWeightTreatment=InverseBoostNegWeights does not exist for BoostType=Grad
                         : --> change to new default NegWeightTreatment=Pray
Factory                  : [NON-XML-CHAR-0x1B][1mTrain all methods[NON-XML-CHAR-0x1B][0m
Factory                  : [dataset] : Create Transformation "I" with events from all classes.
                         : 
                         : Transformation, Variable selection : 
                         : Input : variable 'var1' <---> Output : variable 'var1'
                         : Input : variable 'var2' <---> Output : variable 'var2'
TFHandler_Factory        : Variable        Mean        RMS   [        Min        Max ]
                         : -----------------------------------------------------------
                         :     var1:     3.3759     1.1674   [  0.0058046     4.9975 ]
                         :     var2:     2.4823     1.4587   [  0.0032142     4.9971 ]
                         :   fvalue:     165.93     84.643   [     2.0973     391.01 ]
                         : -----------------------------------------------------------
                         : Ranking input variables (method unspecific)...
IdTransformation         : Ranking result (top variable is best ranked)
                         : --------------------------------------------
                         : Rank : Variable  : |Correlation with target|
                         : --------------------------------------------
                         :    1 : var2      : 7.636e-01
                         :    2 : var1      : 5.936e-01
                         : --------------------------------------------
IdTransformation         : Ranking result (top variable is best ranked)
                         : -------------------------------------
                         : Rank : Variable  : Mutual information
                         : -------------------------------------
                         :    1 : var2      : 2.315e+00
                         :    2 : var1      : 1.882e+00
                         : -------------------------------------
IdTransformation         : Ranking result (top variable is best ranked)
                         : ------------------------------------
                         : Rank : Variable  : Correlation Ratio
                         : ------------------------------------
                         :    1 : var1      : 6.545e+00
                         :    2 : var2      : 2.414e+00
                         : ------------------------------------
IdTransformation         : Ranking result (top variable is best ranked)
                         : ----------------------------------------
                         : Rank : Variable  : Correlation Ratio (T)
                         : ----------------------------------------
                         :    1 : var2      : 8.189e-01
                         :    2 : var1      : 3.128e-01
                         : ----------------------------------------
Factory                  : Train method: PDEFoam for Regression
                         : 
                         : Build mono target regression foam
0%, time left: unknown
7%, time left: 1 sec
12%, time left: 1 sec
19%, time left: 1 sec
25%, time left: 1 sec
                         : Elapsed time: 0.56 sec                                 
                         : Elapsed time for training with 1000 events: 0.566 sec         
                         : Dataset[dataset] : Create results for training
                         : Dataset[dataset] : Evaluation of PDEFoam on training sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 1000 events: 0.00487 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
                         : Creating xml weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_PDEFoam.weights.xml[NON-XML-CHAR-0x1B][0m
                         : writing foam MonoTargetRegressionFoam to file
                         : Foams written to file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_PDEFoam.weights_foams.root[NON-XML-CHAR-0x1B][0m
Factory                  : Training finished
                         : 
Factory                  : Train method: KNN for Regression
                         : 
KNN                      : <Train> start...
                         : Reading 1000 events
                         : Number of signal events 1000
                         : Number of background events 0
                         : Creating kd-tree with 1000 events
                         : Computing scale factor for 1d distributions: (ifrac, bottom, top) = (80%, 10%, 90%)
ModulekNN                : Optimizing tree for 2 variables with 1000 values
                         : <Fill> Class 1 has     1000 events
                         : Elapsed time for training with 1000 events: 0.00153 sec         
                         : Dataset[dataset] : Create results for training
                         : Dataset[dataset] : Evaluation of KNN on training sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 1000 events: 0.00755 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
                         : Creating xml weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_KNN.weights.xml[NON-XML-CHAR-0x1B][0m
Factory                  : Training finished
                         : 
Factory                  : Train method: LD for Regression
                         : 
LD                       : Results for LD coefficients:
                         : -----------------------
                         : Variable:  Coefficient:
                         : -----------------------
                         :     var1:      +42.509
                         :     var2:      +44.738
                         : (offset):      -88.627
                         : -----------------------
                         : Elapsed time for training with 1000 events: 0.00035 sec         
                         : Dataset[dataset] : Create results for training
                         : Dataset[dataset] : Evaluation of LD on training sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 1000 events: 0.000561 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
                         : Creating xml weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_LD.weights.xml[NON-XML-CHAR-0x1B][0m
Factory                  : Training finished
                         : 
Factory                  : Train method: BDTG for Regression
                         : 
                         : Regression Loss Function: Huber
                         : Training 2000 Decision Trees ... patience please
0%, time left: unknown
6%, time left: 1 sec
12%, time left: 1 sec
18%, time left: 0 sec
25%, time left: 0 sec
31%, time left: 0 sec
37%, time left: 0 sec
43%, time left: 0 sec
50%, time left: 0 sec
56%, time left: 0 sec
62%, time left: 0 sec
68%, time left: 0 sec
75%, time left: 0 sec
81%, time left: 0 sec
87%, time left: 0 sec
93%, time left: 0 sec
                         : Elapsed time for training with 1000 events: 1.2 sec         
                         : Dataset[dataset] : Create results for training
                         : Dataset[dataset] : Evaluation of BDTG on training sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 1000 events: 0.392 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
                         : Creating xml weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_BDTG.weights.xml[NON-XML-CHAR-0x1B][0m
                         : TMVAReg.root:/dataset/Method_BDT/BDTG
Factory                  : Training finished
                         : 
Factory                  : === Destroy and recreate all methods via weight files for testing ===
                         : 
                         : Reading weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_PDEFoam.weights.xml[NON-XML-CHAR-0x1B][0m
                         : Read foams from file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_PDEFoam.weights_foams.root[NON-XML-CHAR-0x1B][0m
                         : Reading weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_KNN.weights.xml[NON-XML-CHAR-0x1B][0m
                         : Creating kd-tree with 1000 events
                         : Computing scale factor for 1d distributions: (ifrac, bottom, top) = (80%, 10%, 90%)
ModulekNN                : Optimizing tree for 2 variables with 1000 values
                         : <Fill> Class 1 has     1000 events
                         : Reading weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_LD.weights.xml[NON-XML-CHAR-0x1B][0m
                         : Reading weight file: [NON-XML-CHAR-0x1B][0;36mdataset/weights/TMVARegression_BDTG.weights.xml[NON-XML-CHAR-0x1B][0m
Factory                  : [NON-XML-CHAR-0x1B][1mTest all methods[NON-XML-CHAR-0x1B][0m
Factory                  : Test method: PDEFoam for Regression performance
                         : 
                         : Dataset[dataset] : Create results for testing
                         : Dataset[dataset] : Evaluation of PDEFoam on testing sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 9000 events: 0.0693 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
Factory                  : Test method: KNN for Regression performance
                         : 
                         : Dataset[dataset] : Create results for testing
                         : Dataset[dataset] : Evaluation of KNN on testing sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 9000 events: 0.0681 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
Factory                  : Test method: LD for Regression performance
                         : 
                         : Dataset[dataset] : Create results for testing
                         : Dataset[dataset] : Evaluation of LD on testing sample
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
                         : Dataset[dataset] : Elapsed time for evaluation of 9000 events: 0.00345 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
Factory                  : Test method: BDTG for Regression performance
                         : 
                         : Dataset[dataset] : Create results for testing
                         : Dataset[dataset] : Evaluation of BDTG on testing sample
0%, time left: unknown
7%, time left: 2 sec
13%, time left: 2 sec
19%, time left: 1 sec
25%, time left: 1 sec
32%, time left: 1 sec
38%, time left: 1 sec
44%, time left: 1 sec
50%, time left: 1 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
                         : Dataset[dataset] : Elapsed time for evaluation of 9000 events: 2.29 sec       
                         : Create variable histograms
                         : Create regression target histograms
                         : Create regression average deviation
                         : Results created
Factory                  : [NON-XML-CHAR-0x1B][1mEvaluate all methods[NON-XML-CHAR-0x1B][0m
                         : Evaluate regression method: PDEFoam
                         : TestRegression (testing)
                         : Calculate regression for all events
0%, time left: unknown
8%, time left: 0 sec
14%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
31%, time left: 0 sec
39%, time left: 0 sec
45%, time left: 0 sec
51%, time left: 0 sec
56%, time left: 0 sec
62%, time left: 0 sec
71%, time left: 0 sec
76%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
93%, time left: 0 sec
                         : Elapsed time for evaluation of 9000 events: 0.0527 sec       
                         : TestRegression (training)
                         : Calculate regression for all events
0%, time left: unknown
25%, time left: 0 sec
51%, time left: 0 sec
76%, time left: 0 sec
100%, time left: 0 sec
                         : Elapsed time for evaluation of 1000 events: 0.00555 sec       
TFHandler_PDEFoam        : Variable        Mean        RMS   [        Min        Max ]
                         : -----------------------------------------------------------
                         :     var1:     3.3352     1.1893   [ 0.00020069     5.0000 ]
                         :     var2:     2.4860     1.4342   [ 0.00071490     5.0000 ]
                         :   fvalue:     163.91     83.651   [     1.6186     394.84 ]
                         : -----------------------------------------------------------
                         : Evaluate regression method: KNN
                         : TestRegression (testing)
                         : Calculate regression for all events
0%, time left: unknown
8%, time left: 0 sec
14%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
31%, time left: 0 sec
39%, time left: 0 sec
45%, time left: 0 sec
51%, time left: 0 sec
56%, time left: 0 sec
62%, time left: 0 sec
71%, time left: 0 sec
76%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
93%, time left: 0 sec
                         : Elapsed time for evaluation of 9000 events: 0.0689 sec       
                         : TestRegression (training)
                         : Calculate regression for all events
0%, time left: unknown
25%, time left: 0 sec
51%, time left: 0 sec
76%, time left: 0 sec
100%, time left: 0 sec
                         : Elapsed time for evaluation of 1000 events: 0.00803 sec       
TFHandler_KNN            : Variable        Mean        RMS   [        Min        Max ]
                         : -----------------------------------------------------------
                         :     var1:     3.3352     1.1893   [ 0.00020069     5.0000 ]
                         :     var2:     2.4860     1.4342   [ 0.00071490     5.0000 ]
                         :   fvalue:     163.91     83.651   [     1.6186     394.84 ]
                         : -----------------------------------------------------------
                         : Evaluate regression method: LD
                         : TestRegression (testing)
                         : Calculate regression for all events
0%, time left: unknown
8%, time left: 0 sec
14%, time left: 0 sec
19%, time left: 0 sec
25%, time left: 0 sec
31%, time left: 0 sec
39%, time left: 0 sec
45%, time left: 0 sec
51%, time left: 0 sec
56%, time left: 0 sec
62%, time left: 0 sec
71%, time left: 0 sec
76%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
93%, time left: 0 sec
                         : Elapsed time for evaluation of 9000 events: 0.00535 sec       
                         : TestRegression (training)
                         : Calculate regression for all events
0%, time left: unknown
25%, time left: 0 sec
51%, time left: 0 sec
76%, time left: 0 sec
100%, time left: 0 sec
                         : Elapsed time for evaluation of 1000 events: 0.000865 sec       
TFHandler_LD             : Variable        Mean        RMS   [        Min        Max ]
                         : -----------------------------------------------------------
                         :     var1:     3.3352     1.1893   [ 0.00020069     5.0000 ]
                         :     var2:     2.4860     1.4342   [ 0.00071490     5.0000 ]
                         :   fvalue:     163.91     83.651   [     1.6186     394.84 ]
                         : -----------------------------------------------------------
                         : Evaluate regression method: BDTG
                         : TestRegression (testing)
                         : Calculate regression for all events
0%, time left: unknown
8%, time left: 2 sec
14%, time left: 1 sec
19%, time left: 1 sec
25%, time left: 1 sec
31%, time left: 1 sec
39%, time left: 1 sec
45%, time left: 1 sec
51%, time left: 1 sec
56%, time left: 1 sec
62%, time left: 0 sec
71%, time left: 0 sec
76%, time left: 0 sec
82%, time left: 0 sec
88%, time left: 0 sec
93%, time left: 0 sec
                         : Elapsed time for evaluation of 9000 events: 2.35 sec       
                         : TestRegression (training)
                         : Calculate regression for all events
0%, time left: unknown
25%, time left: 0 sec
51%, time left: 0 sec
76%, time left: 0 sec
100%, time left: 0 sec
                         : Elapsed time for evaluation of 1000 events: 0.252 sec       
TFHandler_BDTG           : Variable        Mean        RMS   [        Min        Max ]
                         : -----------------------------------------------------------
                         :     var1:     3.3352     1.1893   [ 0.00020069     5.0000 ]
                         :     var2:     2.4860     1.4342   [ 0.00071490     5.0000 ]
                         :   fvalue:     163.91     83.651   [     1.6186     394.84 ]
                         : -----------------------------------------------------------
                         : 
                         : Evaluation results ranked by smallest RMS on test sample:
                         : ("Bias" quotes the mean deviation of the regression from true target.
                         :  "MutInf" is the "Mutual Information" between regression and target.
                         :  Indicated by "_T" are the corresponding "truncated" quantities ob-
                         :  tained when removing events deviating more than 2sigma from average.)
                         : --------------------------------------------------------------------------------------------------
                         : --------------------------------------------------------------------------------------------------
                         : dataset              BDTG           :   0.0707    0.102     2.45     1.95  |  3.100  3.175
                         : dataset              KNN            :   -0.237    0.578     5.17     3.44  |  2.898  2.939
                         : dataset              PDEFoam        :    0.106  -0.0677     9.22     7.74  |  2.283  2.375
                         : dataset              LD             :    0.461     2.22     19.6     17.6  |  1.985  1.979
                         : --------------------------------------------------------------------------------------------------
                         : 
                         : Evaluation results ranked by smallest RMS on training sample:
                         : (overtraining check)
                         : --------------------------------------------------------------------------------------------------
                         : DataSet Name:         MVA Method:        <Bias>   <Bias_T>    RMS    RMS_T  |  MutInf MutInf_T
                         : --------------------------------------------------------------------------------------------------
                         : dataset              BDTG           :   0.0597   0.0107    0.566    0.293  |  3.441  3.466
                         : dataset              KNN            :   -0.425    0.423     5.19     3.54  |  3.006  3.034
                         : dataset              PDEFoam        : 8.35e-07    0.106     8.04     6.57  |  2.488  2.579
                         : dataset              LD             :-1.03e-06     1.54     20.1     18.5  |  2.134  2.153
                         : --------------------------------------------------------------------------------------------------
                         : 
Dataset:dataset          : Created tree 'TestTree' with 9000 events
                         : 
Dataset:dataset          : Created tree 'TrainTree' with 1000 events
                         : 
Factory                  : [NON-XML-CHAR-0x1B][1mThank you for using TMVA![NON-XML-CHAR-0x1B][0m
                         : [NON-XML-CHAR-0x1B][1mFor citation information, please visit: http://tmva.sf.net/citeTMVA.html[NON-XML-CHAR-0x1B][0m
==> Wrote root file: TMVAReg.root
==> TMVARegression is done!