Logo ROOT   6.21/01
Reference Guide
TMVA::CvSplitKFoldsExpr Class Reference

Definition at line 62 of file CvSplit.h.

Public Member Functions

 CvSplitKFoldsExpr (DataSetInfo &dsi, TString expr)
 
 ~CvSplitKFoldsExpr ()
 
UInt_t Eval (UInt_t numFolds, const Event *ev)
 

Static Public Member Functions

static Bool_t Validate (TString expr)
 

Private Member Functions

UInt_t GetSpectatorIndexForName (DataSetInfo &dsi, TString name)
 

Private Attributes

DataSetInfofDsi
 
std::vector< std::pair< Int_t, Int_t > > fFormulaParIdxToDsiSpecIdx
 
Int_t fIdxFormulaParNumFolds
 Maps parameter indicies in splitExpr to their spectator index in the datasetinfo. More...
 
std::vector< Double_tfParValues
 TFormula for splitExpr. More...
 
TString fSplitExpr
 Keeps track of the index of reserved par "NumFolds" in splitExpr. More...
 
TFormula fSplitFormula
 Expression used to split data into folds. Should output values between 0 and numFolds. More...
 

#include <TMVA/CvSplit.h>

Constructor & Destructor Documentation

◆ CvSplitKFoldsExpr()

TMVA::CvSplitKFoldsExpr::CvSplitKFoldsExpr ( DataSetInfo dsi,
TString  expr 
)

Definition at line 139 of file CvSplit.cxx.

◆ ~CvSplitKFoldsExpr()

TMVA::CvSplitKFoldsExpr::~CvSplitKFoldsExpr ( )
inline

Definition at line 65 of file CvSplit.h.

Member Function Documentation

◆ Eval()

UInt_t TMVA::CvSplitKFoldsExpr::Eval ( UInt_t  numFolds,
const Event ev 
)

Definition at line 164 of file CvSplit.cxx.

◆ GetSpectatorIndexForName()

UInt_t TMVA::CvSplitKFoldsExpr::GetSpectatorIndexForName ( DataSetInfo dsi,
TString  name 
)
private

Definition at line 206 of file CvSplit.cxx.

◆ Validate()

Bool_t TMVA::CvSplitKFoldsExpr::Validate ( TString  expr)
static

Definition at line 198 of file CvSplit.cxx.

Member Data Documentation

◆ fDsi

DataSetInfo& TMVA::CvSplitKFoldsExpr::fDsi
private

Definition at line 75 of file CvSplit.h.

◆ fFormulaParIdxToDsiSpecIdx

std::vector<std::pair<Int_t, Int_t> > TMVA::CvSplitKFoldsExpr::fFormulaParIdxToDsiSpecIdx
private

Definition at line 78 of file CvSplit.h.

◆ fIdxFormulaParNumFolds

Int_t TMVA::CvSplitKFoldsExpr::fIdxFormulaParNumFolds
private

Maps parameter indicies in splitExpr to their spectator index in the datasetinfo.

Definition at line 79 of file CvSplit.h.

◆ fParValues

std::vector<Double_t> TMVA::CvSplitKFoldsExpr::fParValues
private

TFormula for splitExpr.

Definition at line 83 of file CvSplit.h.

◆ fSplitExpr

TString TMVA::CvSplitKFoldsExpr::fSplitExpr
private

Keeps track of the index of reserved par "NumFolds" in splitExpr.

Definition at line 80 of file CvSplit.h.

◆ fSplitFormula

TFormula TMVA::CvSplitKFoldsExpr::fSplitFormula
private

Expression used to split data into folds. Should output values between 0 and numFolds.

Definition at line 81 of file CvSplit.h.

Libraries for TMVA::CvSplitKFoldsExpr:
[legend]

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