ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
TMVA::LDA Class Reference

Definition at line 48 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 GetProb (const std::vector< Float_t > &x, Int_t k)
 Signal probability with Gaussian approximation. More...
 
Float_t GetLogLikelihood (const std::vector< Float_t > &x, Int_t k)
 Log likelihood function 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

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

#include <TMVA/LDA.h>

+ Collaboration diagram for TMVA::LDA:

Constructor & Destructor Documentation

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

constructor

Definition at line 52 of file LDA.cxx.

TMVA::LDA::~LDA ( )

destructor

Definition at line 65 of file LDA.cxx.

Member Function Documentation

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

Probability value using Gaussian approximation.

Definition at line 216 of file LDA.cxx.

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

Log likelihood function with Gaussian approximation.

Definition at line 257 of file LDA.cxx.

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

Signal probability with Gaussian approximation.

Definition at line 244 of file LDA.cxx.

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

Create LDA matrix using local events found by knn method.

Definition at line 73 of file LDA.cxx.

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

Definition at line 69 of file LDA.h.

Member Data Documentation

Bool_t TMVA::LDA::fDebug
private

Definition at line 80 of file LDA.h.

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

Definition at line 79 of file LDA.h.

MsgLogger* TMVA::LDA::fLogger
mutableprivate

Definition at line 82 of file LDA.h.

Referenced by Log().

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

Definition at line 76 of file LDA.h.

UInt_t TMVA::LDA::fNumParams
private

Definition at line 75 of file LDA.h.

TMatrixF* TMVA::LDA::fSigma
private

Definition at line 77 of file LDA.h.

TMatrixF* TMVA::LDA::fSigmaInverse
private

Definition at line 78 of file LDA.h.

Float_t TMVA::LDA::fTolerence
private

Definition at line 74 of file LDA.h.


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