38 #ifndef ROOT_TMatrixFfwd 42 typedef std::vector<std::vector<Float_t> >
LDAEvents;
76 std::map<Int_t, std::vector<Float_t> >
fMu;
LDA(Float_t tolerence=1.0e-5, Bool_t debug=false)
constructor
Float_t FSub(const std::vector< Float_t > &x, Int_t k)
Probability value using Gaussian approximation.
std::map< Int_t, std::vector< Float_t > > fMu
Float_t GetProb(const std::vector< Float_t > &x, Int_t k)
Signal probability with Gaussian approximation.
std::map< Int_t, Float_t > fEventFraction
Float_t GetLogLikelihood(const std::vector< Float_t > &x, Int_t k)
Log likelihood function with Gaussian approximation.
void Initialize(const LDAEvents &inputSignal, const LDAEvents &inputBackground)
Create LDA matrix using local events found by knn method.
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Abstract ClassifierFactory template that handles arbitrary types.
std::vector< std::vector< Float_t > > LDAEvents