#include <PndMultiClassBdtTrain.h>
|
| | PndMultiClassBdtTrain (std::string const &InPut, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames, bool trim=true) |
| |
| virtual | ~PndMultiClassBdtTrain () |
| |
| void | Train () |
| |
| void | storeWeights () |
| |
| void | Initialize () |
| |
| void | SetJobName (std::string const &name) |
| |
| void | SetTransformation (std::string const &tran) |
| |
| void | SetBdtOptions (std::string const &opts) |
| |
| void | SetEvalFileName (std::string const &fname) |
| |
| void | SetWeightsOutDir (std::string const &dirName) |
| |
| void | SetEvaluation (bool evaluate) |
| |
| std::string const & | GetJobName () const |
| |
| std::string const & | GetTransformation () const |
| |
| std::string const & | GetBdtOptions () const |
| |
| std::string const & | GetEvalFileName () const |
| |
| std::string const & | GetWeightsOutDir () const |
| |
| | PndMvaTrainer (std::vector< std::pair< std::string, std::vector< float > *>> const &InputEvtsParam, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames, bool trim=true) |
| |
| | PndMvaTrainer (std::string const &InPut, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames, bool trim=true) |
| |
| virtual | ~PndMvaTrainer () |
| | Destructor. More...
|
| |
| void | SetTestSetSize (size_t percent=50) |
| |
| void | SetTestSet (std::set< size_t > const &testSet) |
| |
| void | NormalizeData (NormType t=NONORM) |
| |
| void | PCATransForm () |
| |
| void | SetOutPutFile (std::string const &outFile) |
| |
| void | WriteErroVect (std::string const &FileName) const |
| |
| std::vector< StepError > const & | GetErrorValues () const |
| |
| std::set< size_t > const & | GetTestEvetIdx () const |
| |
| std::vector< PndMvaClass > const & | GetClasses () const |
| | Get the list of available classes (labels). More...
|
| |
| std::vector< PndMvaVariable > const & | GetVariables () const |
| | Get the list of available variables. More...
|
| |
| virtual void | EvalClassifierError () |
| |
| size_t | GetRndSeed () const |
| |
| void | SetRndSeed (size_t const sd) |
| |
Definition at line 29 of file PndMultiClassBdtTrain.h.
◆ PndMultiClassBdtTrain()
| PndMultiClassBdtTrain::PndMultiClassBdtTrain |
( |
std::string const & |
InPut, |
|
|
std::vector< std::string > const & |
ClassNames, |
|
|
std::vector< std::string > const & |
VarNames, |
|
|
bool |
trim = true |
|
) |
| |
|
explicit |
Constructor.
- Parameters
-
| InPut | The file containig the event data. |
| ClassNames | Labels of the classes to be used. |
| VarNames | The name of the involved variables(features). |
| trim | If the data set needs to be trimmed. |
◆ ~PndMultiClassBdtTrain()
| virtual PndMultiClassBdtTrain::~PndMultiClassBdtTrain |
( |
| ) |
|
|
virtual |
◆ GetBdtOptions()
| std::string const & PndMultiClassBdtTrain::GetBdtOptions |
( |
| ) |
const |
|
inline |
◆ GetEvalFileName()
| std::string const & PndMultiClassBdtTrain::GetEvalFileName |
( |
| ) |
const |
|
inline |
◆ GetJobName()
| std::string const & PndMultiClassBdtTrain::GetJobName |
( |
| ) |
const |
|
inline |
◆ GetTransformation()
| std::string const & PndMultiClassBdtTrain::GetTransformation |
( |
| ) |
const |
|
inline |
◆ GetWeightsOutDir()
| std::string const & PndMultiClassBdtTrain::GetWeightsOutDir |
( |
| ) |
const |
|
inline |
◆ Initialize()
| void PndMultiClassBdtTrain::Initialize |
( |
| ) |
|
|
virtual |
Initialize Classifier and data structures.
Reimplemented from PndMvaTrainer.
◆ SetBdtOptions()
| void PndMultiClassBdtTrain::SetBdtOptions |
( |
std::string const & |
opts | ) |
|
|
inline |
◆ SetEvalFileName()
| void PndMultiClassBdtTrain::SetEvalFileName |
( |
std::string const & |
fname | ) |
|
|
inline |
◆ SetEvaluation()
| void PndMultiClassBdtTrain::SetEvaluation |
( |
bool |
evaluate | ) |
|
|
inline |
◆ SetJobName()
| void PndMultiClassBdtTrain::SetJobName |
( |
std::string const & |
name | ) |
|
|
inline |
◆ SetTransformation()
| void PndMultiClassBdtTrain::SetTransformation |
( |
std::string const & |
tran | ) |
|
|
inline |
◆ SetWeightsOutDir()
| void PndMultiClassBdtTrain::SetWeightsOutDir |
( |
std::string const & |
dirName | ) |
|
|
inline |
◆ storeWeights()
| void PndMultiClassBdtTrain::storeWeights |
( |
| ) |
|
|
virtual |
Store weights in the output File. If output file name is not specified, then write nothing.
Implements PndMvaTrainer.
◆ Train()
| void PndMultiClassBdtTrain::Train |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: