Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
TMVA::CrossValidationResult Class Reference

Class to save the results of cross validation, the metric for the classification ins ROC and you can ROC curves ROC integrals, ROC average and ROC standard deviation.

Definition at line 76 of file CrossValidation.h.

Public Member Functions

 CrossValidationResult (const CrossValidationResult &)
 
 CrossValidationResult (UInt_t numFolds)
 
 ~CrossValidationResult ()
 
TCanvasDraw (const TString name="CrossValidation") const
 
TCanvasDrawAvgROCCurve (Bool_t drawFolds=kFALSE, TString title="") const
 
TGraphGetAvgROCCurve (UInt_t numSamples=100) const
 Generates a multigraph that contains an average ROC Curve. More...
 
std::vector< Double_tGetEff01Values () const
 
std::vector< Double_tGetEff10Values () const
 
std::vector< Double_tGetEff30Values () const
 
std::vector< Double_tGetEffAreaValues () const
 
Float_t GetROCAverage () const
 
TMultiGraphGetROCCurves (Bool_t fLegend=kTRUE)
 
Float_t GetROCStandardDeviation () const
 
std::map< UInt_t, Float_tGetROCValues () const
 
std::vector< Double_tGetSepValues () const
 
std::vector< Double_tGetSigValues () const
 
std::vector< Double_tGetTrainEff01Values () const
 
std::vector< Double_tGetTrainEff10Values () const
 
std::vector< Double_tGetTrainEff30Values () const
 
void Print () const
 

Private Member Functions

void Fill (CrossValidationFoldResult const &fr)
 

Private Attributes

std::vector< Double_tfEff01s
 
std::vector< Double_tfEff10s
 
std::vector< Double_tfEff30s
 
std::vector< Double_tfEffAreas
 
std::shared_ptr< TMultiGraphfROCCurves
 
std::map< UInt_t, Float_tfROCs
 
std::vector< Double_tfSeps
 
std::vector< Double_tfSigs
 
std::vector< Double_tfTrainEff01s
 
std::vector< Double_tfTrainEff10s
 
std::vector< Double_tfTrainEff30s
 

Friends

class CrossValidation
 

#include <TMVA/CrossValidation.h>

Constructor & Destructor Documentation

◆ CrossValidationResult() [1/2]

TMVA::CrossValidationResult::CrossValidationResult ( UInt_t  numFolds)

Definition at line 41 of file CrossValidation.cxx.

◆ CrossValidationResult() [2/2]

TMVA::CrossValidationResult::CrossValidationResult ( const CrossValidationResult obj)

Definition at line 56 of file CrossValidation.cxx.

◆ ~CrossValidationResult()

TMVA::CrossValidationResult::~CrossValidationResult ( )
inline

Definition at line 96 of file CrossValidation.h.

Member Function Documentation

◆ Draw()

TCanvas * TMVA::CrossValidationResult::Draw ( const TString  name = "CrossValidation") const

Definition at line 174 of file CrossValidation.cxx.

◆ DrawAvgROCCurve()

TCanvas * TMVA::CrossValidationResult::DrawAvgROCCurve ( Bool_t  drawFolds = kFALSE,
TString  title = "" 
) const

Definition at line 188 of file CrossValidation.cxx.

◆ Fill()

void TMVA::CrossValidationResult::Fill ( CrossValidationFoldResult const &  fr)
private

Definition at line 73 of file CrossValidation.cxx.

◆ GetAvgROCCurve()

TGraph * TMVA::CrossValidationResult::GetAvgROCCurve ( UInt_t  numSamples = 100) const

Generates a multigraph that contains an average ROC Curve.

Note
You own the returned pointer.
Parameters
numSamples[in]Number of samples used for generating the average ROC Curve. Avg. curve will be evaluated only at these points (using interpolation if necessary).

Definition at line 107 of file CrossValidation.cxx.

◆ GetEff01Values()

std::vector< Double_t > TMVA::CrossValidationResult::GetEff01Values ( ) const
inline

Definition at line 110 of file CrossValidation.h.

◆ GetEff10Values()

std::vector< Double_t > TMVA::CrossValidationResult::GetEff10Values ( ) const
inline

Definition at line 111 of file CrossValidation.h.

◆ GetEff30Values()

std::vector< Double_t > TMVA::CrossValidationResult::GetEff30Values ( ) const
inline

Definition at line 112 of file CrossValidation.h.

◆ GetEffAreaValues()

std::vector< Double_t > TMVA::CrossValidationResult::GetEffAreaValues ( ) const
inline

Definition at line 113 of file CrossValidation.h.

◆ GetROCAverage()

Float_t TMVA::CrossValidationResult::GetROCAverage ( ) const

Definition at line 133 of file CrossValidation.cxx.

◆ GetROCCurves()

TMultiGraph * TMVA::CrossValidationResult::GetROCCurves ( Bool_t  fLegend = kTRUE)

Definition at line 92 of file CrossValidation.cxx.

◆ GetROCStandardDeviation()

Float_t TMVA::CrossValidationResult::GetROCStandardDeviation ( ) const

Definition at line 143 of file CrossValidation.cxx.

◆ GetROCValues()

std::map< UInt_t, Float_t > TMVA::CrossValidationResult::GetROCValues ( ) const
inline

Definition at line 98 of file CrossValidation.h.

◆ GetSepValues()

std::vector< Double_t > TMVA::CrossValidationResult::GetSepValues ( ) const
inline

Definition at line 109 of file CrossValidation.h.

◆ GetSigValues()

std::vector< Double_t > TMVA::CrossValidationResult::GetSigValues ( ) const
inline

Definition at line 108 of file CrossValidation.h.

◆ GetTrainEff01Values()

std::vector< Double_t > TMVA::CrossValidationResult::GetTrainEff01Values ( ) const
inline

Definition at line 114 of file CrossValidation.h.

◆ GetTrainEff10Values()

std::vector< Double_t > TMVA::CrossValidationResult::GetTrainEff10Values ( ) const
inline

Definition at line 115 of file CrossValidation.h.

◆ GetTrainEff30Values()

std::vector< Double_t > TMVA::CrossValidationResult::GetTrainEff30Values ( ) const
inline

Definition at line 116 of file CrossValidation.h.

◆ Print()

void TMVA::CrossValidationResult::Print ( ) const

Definition at line 155 of file CrossValidation.cxx.

Friends And Related Function Documentation

◆ CrossValidation

friend class CrossValidation
friend

Definition at line 77 of file CrossValidation.h.

Member Data Documentation

◆ fEff01s

std::vector<Double_t> TMVA::CrossValidationResult::fEff01s
private

Definition at line 85 of file CrossValidation.h.

◆ fEff10s

std::vector<Double_t> TMVA::CrossValidationResult::fEff10s
private

Definition at line 86 of file CrossValidation.h.

◆ fEff30s

std::vector<Double_t> TMVA::CrossValidationResult::fEff30s
private

Definition at line 87 of file CrossValidation.h.

◆ fEffAreas

std::vector<Double_t> TMVA::CrossValidationResult::fEffAreas
private

Definition at line 88 of file CrossValidation.h.

◆ fROCCurves

std::shared_ptr<TMultiGraph> TMVA::CrossValidationResult::fROCCurves
private

Definition at line 81 of file CrossValidation.h.

◆ fROCs

std::map<UInt_t, Float_t> TMVA::CrossValidationResult::fROCs
private

Definition at line 80 of file CrossValidation.h.

◆ fSeps

std::vector<Double_t> TMVA::CrossValidationResult::fSeps
private

Definition at line 84 of file CrossValidation.h.

◆ fSigs

std::vector<Double_t> TMVA::CrossValidationResult::fSigs
private

Definition at line 83 of file CrossValidation.h.

◆ fTrainEff01s

std::vector<Double_t> TMVA::CrossValidationResult::fTrainEff01s
private

Definition at line 89 of file CrossValidation.h.

◆ fTrainEff10s

std::vector<Double_t> TMVA::CrossValidationResult::fTrainEff10s
private

Definition at line 90 of file CrossValidation.h.

◆ fTrainEff30s

std::vector<Double_t> TMVA::CrossValidationResult::fTrainEff30s
private

Definition at line 91 of file CrossValidation.h.


The documentation for this class was generated from the following files: