Huber BDT Loss Function.
Definition at line 179 of file LossFunction.h.
Public Member Functions | |
HuberLossFunctionBDT () | |
HuberLossFunctionBDT (Double_t quantile) | |
~HuberLossFunctionBDT () | |
Double_t | Fit (std::vector< LossFunctionEventInfo > &evs) |
huber BDT, determine the fit value for the terminal node based upon the events in the terminal node | |
void | Init (std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap, std::vector< double > &boostWeights) |
huber BDT, initialize the targets and prepare for the regression | |
void | SetTargets (std::vector< const TMVA::Event * > &evs, std::map< const TMVA::Event *, LossFunctionEventInfo > &evinfomap) |
huber BDT, set the targets for a collection of events | |
Double_t | Target (LossFunctionEventInfo &e) |
huber BDT, set the target for a single event | |
Public Member Functions inherited from TMVA::LossFunctionBDT | |
LossFunctionBDT () | |
virtual | ~LossFunctionBDT () |
Public Member Functions inherited from TMVA::LossFunction | |
LossFunction () | |
virtual | ~LossFunction () |
Public Member Functions inherited from TMVA::HuberLossFunction | |
HuberLossFunction () | |
huber constructor | |
HuberLossFunction (Double_t quantile) | |
~HuberLossFunction () | |
huber destructor | |
Double_t | CalculateLoss (LossFunctionEventInfo &e) |
huber, determine the loss for a single event | |
Double_t | CalculateMeanLoss (std::vector< LossFunctionEventInfo > &evs) |
huber, determine the mean loss for a collection of events | |
Double_t | CalculateNetLoss (std::vector< LossFunctionEventInfo > &evs) |
huber, determine the net loss for a collection of events | |
Double_t | CalculateQuantile (std::vector< LossFunctionEventInfo > &evs, Double_t whichQuantile, Double_t sumOfWeights, bool abs) |
huber, determine the quantile for a given input | |
Double_t | CalculateSumOfWeights (const std::vector< LossFunctionEventInfo > &evs) |
huber, calculate the sum of weights for the events in the vector | |
Int_t | Id () |
void | Init (std::vector< LossFunctionEventInfo > &evs) |
figure out the residual that determines the separation between the "core" and the "tails" of the residuals distribution | |
TString | Name () |
void | SetSumOfWeights (std::vector< LossFunctionEventInfo > &evs) |
huber, set the sum of weights given a collection of events | |
void | SetTransitionPoint (std::vector< LossFunctionEventInfo > &evs) |
huber, determine the transition point using the values for fQuantile and fSumOfWeights which presumably have already been set | |
Additional Inherited Members | |
Protected Attributes inherited from TMVA::HuberLossFunction | |
Double_t | fQuantile |
Double_t | fSumOfWeights |
Double_t | fTransitionPoint |
#include <TMVA/LossFunction.h>
TMVA::HuberLossFunctionBDT::HuberLossFunctionBDT | ( | ) |
Definition at line 240 of file LossFunction.cxx.
|
inline |
Definition at line 183 of file LossFunction.h.
|
inline |
Definition at line 184 of file LossFunction.h.
|
virtual |
huber BDT, determine the fit value for the terminal node based upon the events in the terminal node
Implements TMVA::LossFunctionBDT.
Definition at line 334 of file LossFunction.cxx.
|
virtual |
huber BDT, initialize the targets and prepare for the regression
Implements TMVA::LossFunctionBDT.
Definition at line 246 of file LossFunction.cxx.
|
virtual |
huber BDT, set the targets for a collection of events
Implements TMVA::LossFunctionBDT.
Definition at line 271 of file LossFunction.cxx.
|
virtual |
huber BDT, set the target for a single event
Implements TMVA::LossFunctionBDT.
Definition at line 323 of file LossFunction.cxx.