KDE Kernel for "smoothing" the PDFs.
Definition at line 50 of file KDEKernel.h.
Public Types | |
enum | EKernelBorder { kNoTreatment = 1 , kKernelRenorm = 2 , kSampleMirror = 3 } |
enum | EKernelIter { kNonadaptiveKDE = 1 , kAdaptiveKDE = 2 } |
enum | EKernelType { kNone = 0 , kGauss = 1 } |
Public Member Functions | |
KDEKernel (EKernelIter kiter=kNonadaptiveKDE, const TH1 *hist=0, Float_t lower_edge=0., Float_t upper_edge=1., EKernelBorder kborder=kNoTreatment, Float_t FineFactor=1.) | |
constructor sanity check | |
virtual | ~KDEKernel (void) |
destructor | |
Float_t | GetBinKernelIntegral (Float_t lowr, Float_t highr, Float_t mean, Int_t binnum) |
calculates the integral of the Kernel | |
const char * | GetName () const |
void | SetKernelType (EKernelType ktype=kGauss) |
fIter == 1 —> nonadaptive KDE fIter == 2 —> adaptive KDE | |
Private Member Functions | |
MsgLogger & | Log () const |
Private Attributes | |
Float_t | fFineFactor |
TH1F * | fFirstIterHist |
Bool_t | fHiddenIteration |
TH1F * | fHist |
EKernelIter | fIter |
EKernelBorder | fKDEborder |
TF1 * | fKernel_integ |
MsgLogger * | fLogger |
Float_t | fLowerEdge |
Float_t | fSigma |
TH1F * | fSigmaHist |
Float_t | fUpperEdge |
#include <TMVA/KDEKernel.h>
Enumerator | |
---|---|
kNoTreatment | |
kKernelRenorm | |
kSampleMirror |
Definition at line 56 of file KDEKernel.h.
Enumerator | |
---|---|
kNonadaptiveKDE | |
kAdaptiveKDE |
Definition at line 55 of file KDEKernel.h.
Enumerator | |
---|---|
kNone | |
kGauss |
Definition at line 54 of file KDEKernel.h.
TMVA::KDEKernel::KDEKernel | ( | EKernelIter | kiter = kNonadaptiveKDE , |
const TH1 * | hist = 0 , |
||
Float_t | lower_edge = 0. , |
||
Float_t | upper_edge = 1. , |
||
EKernelBorder | kborder = kNoTreatment , |
||
Float_t | FineFactor = 1. |
||
) |
constructor sanity check
Definition at line 49 of file KDEKernel.cxx.
|
virtual |
destructor
Definition at line 76 of file KDEKernel.cxx.
Float_t TMVA::KDEKernel::GetBinKernelIntegral | ( | Float_t | lowr, |
Float_t | highr, | ||
Float_t | mean, | ||
Int_t | binnum | ||
) |
calculates the integral of the Kernel
Definition at line 217 of file KDEKernel.cxx.
|
inline |
Definition at line 71 of file KDEKernel.h.
|
inlineprivate |
Definition at line 89 of file KDEKernel.h.
void TMVA::KDEKernel::SetKernelType | ( | EKernelType | ktype = kGauss | ) |
fIter == 1 —> nonadaptive KDE fIter == 2 —> adaptive KDE
Definition at line 112 of file KDEKernel.cxx.
|
private |
Definition at line 79 of file KDEKernel.h.
|
private |
Definition at line 83 of file KDEKernel.h.
|
private |
Definition at line 85 of file KDEKernel.h.
|
private |
Definition at line 82 of file KDEKernel.h.
|
private |
Definition at line 76 of file KDEKernel.h.
|
private |
Definition at line 81 of file KDEKernel.h.
|
private |
Definition at line 80 of file KDEKernel.h.
|
mutableprivate |
Definition at line 88 of file KDEKernel.h.
|
private |
Definition at line 77 of file KDEKernel.h.
|
private |
Definition at line 75 of file KDEKernel.h.
|
private |
Definition at line 84 of file KDEKernel.h.
|
private |
Definition at line 78 of file KDEKernel.h.