Definition at line 41 of file VarTransformHandler.h.
Public Member Functions | |
VarTransformHandler (DataLoader *) | |
constructor | |
~VarTransformHandler () | |
destructor | |
MsgLogger & | Log () const |
message logger | |
TMVA::DataLoader * | VarianceThreshold (Double_t threshold) |
Computes variance of all the variables and returns a new DataLoader with the selected variables whose variance is above a specific threshold. | |
Public Attributes | |
MsgLogger * | fLogger |
Private Member Functions | |
void | CalcNorm () |
Computes maximum, minimum, mean, RMS and variance for all variables and targets. | |
void | CopyDataLoader (TMVA::DataLoader *des, TMVA::DataLoader *src) |
void | UpdateNorm (Int_t ivar, Double_t x) |
Updates maximum and minimum value of a variable or target. | |
Private Attributes | |
DataLoader * | fDataLoader |
DataSetInfo & | fDataSetInfo |
const std::vector< Event * > & | fEvents |
#include <TMVA/VarTransformHandler.h>
TMVA::VarTransformHandler::VarTransformHandler | ( | DataLoader * | dl | ) |
constructor
Definition at line 49 of file VarTransformHandler.cxx.
TMVA::VarTransformHandler::~VarTransformHandler | ( | ) |
destructor
Definition at line 61 of file VarTransformHandler.cxx.
|
private |
Computes maximum, minimum, mean, RMS and variance for all variables and targets.
Definition at line 148 of file VarTransformHandler.cxx.
|
private |
Definition at line 287 of file VarTransformHandler.cxx.
|
inline |
message logger
Definition at line 49 of file VarTransformHandler.h.
Updates maximum and minimum value of a variable or target.
Definition at line 129 of file VarTransformHandler.cxx.
TMVA::DataLoader * TMVA::VarTransformHandler::VarianceThreshold | ( | Double_t | threshold | ) |
Computes variance of all the variables and returns a new DataLoader with the selected variables whose variance is above a specific threshold.
Threshold can be provided by user otherwise default value is 0 i.e. remove the variables which have same value in all the events.
[in] | threshold | value (Double) |
Transformation Definition String Format: "VT(optional float value)"
Usage examples:
String | Description |
---|---|
"VT" | Select variables whose variance is above threshold value = 0 (Default) |
"VT(1.5)" | Select variables whose variance is above threshold value = 1.5 |
Definition at line 84 of file VarTransformHandler.cxx.
|
private |
Definition at line 54 of file VarTransformHandler.h.
|
private |
Definition at line 53 of file VarTransformHandler.h.
Definition at line 55 of file VarTransformHandler.h.
|
mutable |
Definition at line 48 of file VarTransformHandler.h.