34 #ifndef ROOT_TMVA_MethodFisher 35 #define ROOT_TMVA_MethodFisher 61 const TString& theOption =
"Fisher");
159 #endif // MethodFisher_H void GetCov_BetweenClass(void)
the matrix of covariance 'between class' reflects the dispersion of the events of a class relative to...
const Ranking * CreateRanking()
computes ranking of input variables
MethodFisher(const TString &jobName, const TString &methodTitle, DataSetInfo &dsi, const TString &theOption="Fisher")
standard constructor for the "Fisher"
void ReadWeightsFromStream(std::istream &i)
read Fisher coefficients from weight file
virtual ~MethodFisher(void)
destructor
void GetCov_Full(void)
compute full covariance matrix from sum of within and between matrices
void GetDiscrimPower(void)
computation of discrimination power indicator for each variable small values of "fWith" indicates lit...
virtual Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t numberTargets)
Fisher can only handle classification with 2 classes.
EFisherMethod GetFisherMethod(void)
Virtual base Class for all MVA method.
void AddWeightsXMLTo(void *parent) const
create XML description of Fisher classifier
Ranking for variables in method (implementation)
std::vector< Double_t > * fFisherCoeff
void GetHelpMessage() const
get help message text
#define ClassDef(name, id)
EFisherMethod fFisherMethod
Class that contains all the data information.
Double_t GetMvaValue(Double_t *err=0, Double_t *errUpper=0)
returns the Fisher value (no fixed range)
void Train(void)
computation of Fisher coefficients by series of matrix operations
void ReadWeightsFromXML(void *wghtnode)
read Fisher coefficients from xml weight file
void ProcessOptions()
process user options
void InitMatrices(void)
initialization method; creates global matrices and vectors
1-D histogram with a double per channel (see TH1 documentation)}
void DeclareOptions()
MethodFisher options: format and syntax of option string: "type" where type is "Fisher" or "Mahalanob...
void GetMean(void)
compute mean values of variables in each sample, and the overall means
void GetCov_WithinClass(void)
the matrix of covariance 'within class' reflects the dispersion of the events relative to the center ...
void MakeClassSpecific(std::ostream &, const TString &) const
write Fisher-specific classifier response
Abstract ClassifierFactory template that handles arbitrary types.
void PrintCoefficients(void)
display Fisher coefficients and discriminating power for each variable check maximum length of variab...
Fisher and Mahalanobis Discriminants (Linear Discriminant Analysis)
virtual void ReadWeightsFromStream(std::istream &)=0
void GetFisherCoeff(void)
Fisher = Sum { [coeff]*[variables] }.
std::vector< Double_t > * fDiscrimPow
void Init(void)
default initialization called by all constructors