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=nullptr, 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 |
virtual TClass * | IsA () const |
void | SetKernelType (EKernelType ktype=kGauss) |
fIter == 1 —> nonadaptive KDE fIter == 2 —> adaptive KDE | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
MsgLogger & | Log () const |
Private Attributes | |
Float_t | fFineFactor |
fine tuning factor for Adaptive KDE: factor to multiply the "width" of the Kernel function | |
TH1F * | fFirstIterHist |
histogram to be filled in the hidden iteration | |
Bool_t | fHiddenIteration |
Defines if whats currently running is the. | |
TH1F * | fHist |
copy of input histogram | |
EKernelIter | fIter |
iteration number | |
EKernelBorder | fKDEborder |
The method to take care about "border" effects. | |
TF1 * | fKernel_integ |
the integral of the Kernel function | |
MsgLogger * | fLogger |
! message logger | |
Float_t | fLowerEdge |
the lower edge of the PDF | |
Float_t | fSigma |
Width of the Kernel function. | |
TH1F * | fSigmaHist |
contains the Sigmas Widths for adaptive KDE | |
Float_t | fUpperEdge |
the upper edge of the PDF | |
#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 = nullptr , |
||
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.
|
static |
|
inlinestaticconstexpr |
Definition at line 91 of file KDEKernel.h.
|
inlinestatic |
Definition at line 91 of file KDEKernel.h.
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.
|
inlinevirtual |
Definition at line 91 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.
|
virtual |
|
inline |
Definition at line 91 of file KDEKernel.h.
|
private |
fine tuning factor for Adaptive KDE: factor to multiply the "width" of the Kernel function
Definition at line 79 of file KDEKernel.h.
|
private |
histogram to be filled in the hidden iteration
Definition at line 83 of file KDEKernel.h.
|
private |
Defines if whats currently running is the.
Definition at line 85 of file KDEKernel.h.
|
private |
copy of input histogram
Definition at line 82 of file KDEKernel.h.
|
private |
iteration number
Definition at line 76 of file KDEKernel.h.
|
private |
The method to take care about "border" effects.
Definition at line 81 of file KDEKernel.h.
|
private |
the integral of the Kernel function
Definition at line 80 of file KDEKernel.h.
|
mutableprivate |
! message logger
Definition at line 88 of file KDEKernel.h.
|
private |
the lower edge of the PDF
Definition at line 77 of file KDEKernel.h.
|
private |
Width of the Kernel function.
Definition at line 75 of file KDEKernel.h.
|
private |
contains the Sigmas Widths for adaptive KDE
Definition at line 84 of file KDEKernel.h.
|
private |
the upper edge of the PDF
Definition at line 78 of file KDEKernel.h.