#include <PndMultiClassMlpTrain.h>
|
| PndMultiClassMlpTrain (std::string const &InPut, std::vector< std::string > const &ClassNames, std::vector< std::string > const &VarNames, bool trim=true) |
|
virtual | ~PndMultiClassMlpTrain () |
|
void | Train () |
|
void | storeWeights () |
|
void | Initialize () |
|
void | SetJobName (std::string const &name) |
|
void | SetTransformation (std::string const &tran) |
|
void | SetMlpOptions (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 & | GetMlpOptions () 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 PndMultiClassMlpTrain.h.
◆ PndMultiClassMlpTrain()
PndMultiClassMlpTrain::PndMultiClassMlpTrain |
( |
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. |
◆ ~PndMultiClassMlpTrain()
virtual PndMultiClassMlpTrain::~PndMultiClassMlpTrain |
( |
| ) |
|
|
virtual |
◆ GetEvalFileName()
std::string const & PndMultiClassMlpTrain::GetEvalFileName |
( |
| ) |
const |
|
inline |
◆ GetJobName()
std::string const & PndMultiClassMlpTrain::GetJobName |
( |
| ) |
const |
|
inline |
◆ GetMlpOptions()
std::string const & PndMultiClassMlpTrain::GetMlpOptions |
( |
| ) |
const |
|
inline |
◆ GetTransformation()
std::string const & PndMultiClassMlpTrain::GetTransformation |
( |
| ) |
const |
|
inline |
◆ GetWeightsOutDir()
std::string const & PndMultiClassMlpTrain::GetWeightsOutDir |
( |
| ) |
const |
|
inline |
◆ Initialize()
void PndMultiClassMlpTrain::Initialize |
( |
| ) |
|
|
virtual |
Initialize Classifier and data structures.
Reimplemented from PndMvaTrainer.
◆ SetEvalFileName()
void PndMultiClassMlpTrain::SetEvalFileName |
( |
std::string const & |
fname | ) |
|
|
inline |
◆ SetEvaluation()
void PndMultiClassMlpTrain::SetEvaluation |
( |
bool |
evaluate | ) |
|
|
inline |
◆ SetJobName()
void PndMultiClassMlpTrain::SetJobName |
( |
std::string const & |
name | ) |
|
|
inline |
◆ SetMlpOptions()
void PndMultiClassMlpTrain::SetMlpOptions |
( |
std::string const & |
opts | ) |
|
|
inline |
◆ SetTransformation()
void PndMultiClassMlpTrain::SetTransformation |
( |
std::string const & |
tran | ) |
|
|
inline |
◆ SetWeightsOutDir()
void PndMultiClassMlpTrain::SetWeightsOutDir |
( |
std::string const & |
dirName | ) |
|
|
inline |
◆ storeWeights()
void PndMultiClassMlpTrain::storeWeights |
( |
| ) |
|
|
virtual |
Store weights in the output File. If output file name is not specified, then write nothing.
Implements PndMvaTrainer.
◆ Train()
void PndMultiClassMlpTrain::Train |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following file: