#include <PndPDEFoamTrain.h>
Definition at line 20 of file PndPDEFoamTrain.h.
PndPDEFoamTrain::PndPDEFoamTrain |
( |
const std::string & |
InPutFile, |
|
|
const std::vector< std::string > & |
ClassNames, |
|
|
const std::vector< std::string > & |
VarNames, |
|
|
bool |
trim = true |
|
) |
| |
virtual PndPDEFoamTrain::~PndPDEFoamTrain |
( |
| ) |
|
|
virtual |
void PndPDEFoamTrain::CalcXminXmax |
( |
| ) |
|
|
protected |
virtual void PndMvaTrainer::EvalClassifierError |
( |
| ) |
|
|
virtualinherited |
void PndPDEFoamTrain::FillVariableNamesToFoam |
( |
| ) |
const |
|
protected |
std::vector< PndMvaClass > const & PndMvaTrainer::GetClasses |
( |
| ) |
const |
|
inlineinherited |
Get the list of available classes (labels).
Get the list of available classes (labels). Vector containing available labels.
Definition at line 226 of file PndMvaTrainer.h.
References PndMvaDataSet::GetClasses(), and PndMvaTrainer::m_dataSets.
PndMvaDataSet m_dataSets
Data set. Holds event values.
std::vector< PndMvaClass > const & GetClasses() const
Get the list of available classes (labels).
std::vector< StepError > const & PndMvaTrainer::GetErrorValues |
( |
| ) |
const |
|
inlineinherited |
Get the list of objects that contain the classifier evaluation results.
- Returns
- List of evaluation objects.
Definition at line 238 of file PndMvaTrainer.h.
References PndMvaTrainer::m_StepErro.
std::vector< StepError > m_StepErro
Container to keep per step error values.
size_t PndMvaTrainer::GetRndSeed |
( |
| ) |
const |
|
inlineinherited |
std::set< size_t > const & PndMvaTrainer::GetTestEvetIdx |
( |
| ) |
const |
|
inlineinherited |
Get the indices of the events selected to be used for testing.
- Returns
- A set containing the indices of test events.
Definition at line 220 of file PndMvaTrainer.h.
References PndMvaTrainer::m_testSet_indices.
std::set< size_t > m_testSet_indices
Indices of the test set.
std::vector< PndMvaVariable > const & PndMvaTrainer::GetVariables |
( |
| ) |
const |
|
inlineinherited |
Get the list of available variables.
Get the list of available variables. Vector containing available Parameters (features).
Definition at line 232 of file PndMvaTrainer.h.
References PndMvaDataSet::GetVars(), and PndMvaTrainer::m_dataSets.
PndMvaDataSet m_dataSets
Data set. Holds event values.
std::vector< PndMvaVariable > const & GetVars() const
Get the list of available variables.
void PndPDEFoamTrain::Init |
( |
| ) |
|
|
private |
void PndPDEFoamTrain::InitFoam |
( |
TMVA::PDEFoam * |
pdefoam, |
|
|
TMVA::EFoamType |
ft |
|
) |
| |
|
protected |
virtual void PndMvaTrainer::Initialize |
( |
| ) |
|
|
virtualinherited |
Select input data normalization scheme.
void PndMvaTrainer::PCATransForm |
( |
| ) |
|
|
inherited |
Parameter decorrelation. Performs PCA (Principal component analysis) on the input dataset.
void PndMvaTrainer::SetAppType |
( |
AppType |
t | ) |
|
|
inlineprotectedinherited |
void PndMvaTrainer::SetOutPutFile |
( |
std::string const & |
outFile | ) |
|
|
inlineinherited |
void PndMvaTrainer::SetRndSeed |
( |
size_t const |
sd | ) |
|
|
inlineinherited |
void PndMvaTrainer::SetTestSet |
( |
std::set< size_t > const & |
testSet | ) |
|
|
inherited |
Set the indices of events that are going to be used for testing.
- Parameters
-
testSet | Set containing the indices of the test events. |
void PndMvaTrainer::SetTestSetSize |
( |
size_t |
percent = 50 | ) |
|
|
inherited |
Creates test and train data sets.
- Parameters
-
percent | Percent of the data set to be used for testing. |
void PndPDEFoamTrain::SetXminXmax |
( |
TMVA::PDEFoam * |
pdefoam | ) |
|
|
protected |
void PndMvaTrainer::splitTetsSet |
( |
| ) |
|
|
protectedinherited |
virtual void PndMvaTrainer::storeWeights |
( |
| ) |
|
|
pure virtualinherited |
void PndPDEFoamTrain::Train |
( |
| ) |
|
|
virtual |
Derived classes need to implement this methode.
Implements PndMvaTrainer.
void PndPDEFoamTrain::TrainPar |
( |
| ) |
|
void PndMvaTrainer::WriteErroVect |
( |
std::string const & |
FileName | ) |
const |
|
inherited |
Writes the train and test errors evaluations to a given file.
- Parameters
-
FileName | Output file name. |
void PndPDEFoamTrain::WriteFoamsToFile |
( |
| ) |
|
|
protected |
void PndMvaTrainer::WriteToWeightFile |
( |
std::vector< std::pair< std::string, std::vector< float > * > > const & |
weights | ) |
const |
|
protectedinherited |
Write the training and normalization data to outFile.
int PndPDEFoamTrain::m_Chat |
|
private |
bool PndPDEFoamTrain::m_CutNmin |
|
private |
bool PndPDEFoamTrain::m_CutRMSmin |
|
private |
int PndPDEFoamTrain::m_EvPerBin |
|
private |
std::vector<TMVA::PDEFoam*> PndPDEFoamTrain::m_foams |
|
private |
double PndPDEFoamTrain::m_Frac |
|
private |
TMVA::EKernel PndPDEFoamTrain::m_Kernel |
|
private |
int PndPDEFoamTrain::m_nActiveCells |
|
private |
int PndPDEFoamTrain::m_nBin |
|
private |
int PndPDEFoamTrain::m_nCells |
|
private |
int PndPDEFoamTrain::m_Nmin |
|
private |
int PndPDEFoamTrain::m_nSampl |
|
private |
int PndPDEFoamTrain::m_OptDrive |
|
private |
int PndPDEFoamTrain::m_OptRej |
|
private |
std::string PndMvaTrainer::m_outFile |
|
protectedinherited |
double PndPDEFoamTrain::m_RMSmin |
|
private |
size_t PndMvaTrainer::m_RND_seed |
|
protectedinherited |
bool PndPDEFoamTrain::m_SigBgSeparated |
|
private |
std::vector<StepError> PndMvaTrainer::m_StepErro |
|
protectedinherited |
std::set<size_t> PndMvaTrainer::m_testSet_indices |
|
protectedinherited |
int PndPDEFoamTrain::m_VolFrac |
|
private |
TRandom3* PndPDEFoamTrain::PseRan |
|
private |
std::vector<float> PndPDEFoamTrain::Xmax |
|
private |
std::vector<float> PndPDEFoamTrain::Xmin |
|
private |
The documentation for this class was generated from the following file: