Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 More...
 
 ~LDA ()
 destructor More...
 
Float_t GetLogLikelihood (const std::vector< Float_t > &x, Int_t k)
 Log likelihood function with Gaussian approximation. More...
 
Float_t GetProb (const std::vector< Float_t > &x, Int_t k)
 Signal probability with Gaussian approximation. More...
 
void Initialize (const LDAEvents &inputSignal, const LDAEvents &inputBackground)
 Create LDA matrix using local events found by knn method. More...
 

Private Member Functions

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

Private Attributes

Bool_t fDebug
 
std::map< Int_t, Float_tfEventFraction
 
MsgLoggerfLogger
 
std::map< Int_t, std::vector< Float_t > > fMu
 
UInt_t fNumParams
 
TMatrixFfSigma
 
TMatrixFfSigmaInverse
 
Float_t fTolerence
 

#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 47 of file LDA.cxx.

◆ ~LDA()

TMVA::LDA::~LDA ( )

destructor

Definition at line 60 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 211 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 252 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 239 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 68 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

Definition at line 76 of file LDA.h.

◆ fEventFraction

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

Definition at line 75 of file LDA.h.

◆ fLogger

MsgLogger* TMVA::LDA::fLogger
mutableprivate

Definition at line 78 of file LDA.h.

◆ fMu

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

Definition at line 72 of file LDA.h.

◆ fNumParams

UInt_t TMVA::LDA::fNumParams
private

Definition at line 71 of file LDA.h.

◆ fSigma

TMatrixF* TMVA::LDA::fSigma
private

Definition at line 73 of file LDA.h.

◆ fSigmaInverse

TMatrixF* TMVA::LDA::fSigmaInverse
private

Definition at line 74 of file LDA.h.

◆ fTolerence

Float_t TMVA::LDA::fTolerence
private

Definition at line 70 of file LDA.h.


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