Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::LDA Class Reference

Definition at line 44 of file LDA.h.

Public Member Functions

 LDA (Float_t tolerence=1.0e-5, Bool_t debug=false)
 constructor
 
 ~LDA ()
 destructor
 
Float_t GetLogLikelihood (const std::vector< Float_t > &x, Int_t k)
 Log likelihood function with Gaussian approximation.
 
Float_t GetProb (const std::vector< Float_t > &x, Int_t k)
 Signal probability with Gaussian approximation.
 
void Initialize (const LDAEvents &inputSignal, const LDAEvents &inputBackground)
 Create LDA matrix using local events found by knn method.
 

Private Member Functions

Float_t FSub (const std::vector< Float_t > &x, Int_t k)
 Probability value using Gaussian approximation.
 
MsgLoggerLog () const
 

Private Attributes

Bool_t fDebug
 documentation!
 
std::map< Int_t, Float_tfEventFraction
 documentation!
 
MsgLoggerfLogger
 ! message logging service
 
std::map< Int_t, std::vector< Float_t > > fMu
 documentation!
 
UInt_t fNumParams
 documentation!
 
TMatrixFfSigma
 documentation!
 
TMatrixFfSigmaInverse
 documentation!
 
Float_t fTolerence
 documentation!
 

#include <TMVA/LDA.h>

Constructor & Destructor Documentation

◆ LDA()

TMVA::LDA::LDA ( Float_t  tolerence = 1.0e-5,
Bool_t  debug = false 
)

constructor

Definition at line 45 of file LDA.cxx.

◆ ~LDA()

TMVA::LDA::~LDA ( )

destructor

Definition at line 58 of file LDA.cxx.

Member Function Documentation

◆ FSub()

Float_t TMVA::LDA::FSub ( const std::vector< Float_t > &  x,
Int_t  k 
)
private

Probability value using Gaussian approximation.

Definition at line 209 of file LDA.cxx.

◆ GetLogLikelihood()

Float_t TMVA::LDA::GetLogLikelihood ( const std::vector< Float_t > &  x,
Int_t  k 
)

Log likelihood function with Gaussian approximation.

Definition at line 250 of file LDA.cxx.

◆ GetProb()

Float_t TMVA::LDA::GetProb ( const std::vector< Float_t > &  x,
Int_t  k 
)

Signal probability with Gaussian approximation.

Definition at line 237 of file LDA.cxx.

◆ Initialize()

void TMVA::LDA::Initialize ( const LDAEvents inputSignal,
const LDAEvents inputBackground 
)

Create LDA matrix using local events found by knn method.

Definition at line 66 of file LDA.cxx.

◆ Log()

MsgLogger & TMVA::LDA::Log ( ) const
inlineprivate

Definition at line 65 of file LDA.h.

Member Data Documentation

◆ fDebug

Bool_t TMVA::LDA::fDebug
private

documentation!

Definition at line 76 of file LDA.h.

◆ fEventFraction

std::map<Int_t, Float_t> TMVA::LDA::fEventFraction
private

documentation!

Definition at line 75 of file LDA.h.

◆ fLogger

MsgLogger* TMVA::LDA::fLogger
mutableprivate

! message logging service

Definition at line 78 of file LDA.h.

◆ fMu

std::map<Int_t, std::vector<Float_t> > TMVA::LDA::fMu
private

documentation!

Definition at line 72 of file LDA.h.

◆ fNumParams

UInt_t TMVA::LDA::fNumParams
private

documentation!

Definition at line 71 of file LDA.h.

◆ fSigma

TMatrixF* TMVA::LDA::fSigma
private

documentation!

Definition at line 73 of file LDA.h.

◆ fSigmaInverse

TMatrixF* TMVA::LDA::fSigmaInverse
private

documentation!

Definition at line 74 of file LDA.h.

◆ fTolerence

Float_t TMVA::LDA::fTolerence
private

documentation!

Definition at line 70 of file LDA.h.

Libraries for TMVA::LDA:

The documentation for this class was generated from the following files: