Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
classification.C File Reference
#include "TMVA/Factory.h"
#include "TMVA/DataLoader.h"
#include "TMVA/Tools.h"
#include "TMVA/Classification.h"
Include dependency graph for classification.C:

Functions

void classification (UInt_t jobs=4)
 

Detailed Description

View in nbviewer Open in SWAN

Definition in file classification.C.

Function Documentation

◆ classification()

void classification ( UInt_t  jobs = 4)
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 BDTG
:
: the option NegWeightTreatment=InverseBoostNegWeights does not exist for BoostType=Grad
: --> change to new default NegWeightTreatment=Pray
: Rebuilding Dataset dataset
: Building event vectors for type 2 Signal
: Dataset[dataset] : create input formulas for tree TreeS
: Building event vectors for type 2 Background
: Dataset[dataset] : create input formulas for tree TreeB
<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):
: ----------------------------------------
: myvar1 myvar2 var3 var4
: myvar1: +1.000 +0.038 +0.748 +0.922
: myvar2: +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):
: ----------------------------------------
: myvar1 myvar2 var3 var4
: myvar1: +1.000 -0.021 +0.783 +0.931
: myvar2: -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> : Loading booked method: SVM SVM
:
<HEADER> SVM : [dataset] : Create Transformation "Norm" with events from all classes.
:
<HEADER> : Transformation, Variable selection :
: Input : variable 'myvar1' <---> Output : variable 'myvar1'
: Input : variable 'myvar2' <---> Output : variable 'myvar2'
: Input : variable 'var3' <---> Output : variable 'var3'
: Input : variable 'var4' <---> Output : variable 'var4'
<HEADER> : Loading booked method: BDT BDTB
:
<HEADER> : Loading booked method: Cuts Cuts
:
: Use optimization method: "Monte Carlo"
: Use efficiency computation method: "Event Selection"
: Use "FSmart" cuts for variable: 'myvar1'
: Use "FSmart" cuts for variable: 'myvar2'
: Use "FSmart" cuts for variable: 'var3'
: Use "FSmart" cuts for variable: 'var4'
: --------------------------------------------------- :
: DataSet MVA :
: Name: Method/Title: ROC-integ :
: --------------------------------------------------- :
: dataset SVM/SVM 0.898 :
: dataset Cuts/Cuts 0.792 :
: dataset BDT/BDTG 0.886 :
: dataset BDT/BDTB 0.852 :
: --------------------------------------------------- :
: -----------------------------------------------------
<HEADER> : Evaluation done.
:
: Jobs = 4 Real Time = 4.300411
: -----------------------------------------------------
: Evaluation done.

Definition at line 14 of file classification.C.