75#ifndef ROOT_TMVA_MethodCFMlpANN
76#define ROOT_TMVA_MethodCFMlpANN
102 const TString& theOption =
"3000:N-1:N-2");
112 void Train(
void )
override;
174 void Init(
void )
override;
int Int_t
Signed integer 4 bytes (int).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Double_t
Double 8 bytes.
#define ClassDefOverride(name, id)
TMatrixT< Float_t > TMatrixF
Class that contains all the data information.
MethodBase(const TString &jobName, Types::EMVA methodType, const TString &methodTitle, DataSetInfo &dsi, const TString &theOption="")
standard constructor
void ReadWeightsFromStream(std::istream &) override=0
MethodCFMlpANN_Utils()
default constructor
void PrintWeights(std::ostream &o) const
write the weights of the neural net
Double_t GetData(Int_t isel, Int_t ivar) const
Int_t MethodCFMlpANN_nsel
void DeclareOptions() override
define the options (their key words) that can be set in the option string know options: NCycles=xx :t...
void MakeClassSpecificHeader(std::ostream &, const TString &="") const override
write specific classifier response for header
void ReadWeightsFromXML(void *wghtnode) override
read weights from xml file
Double_t EvalANN(std::vector< Double_t > &, Bool_t &isOK)
evaluates NN value as function of input variables
void AddWeightsXMLTo(void *parent) const override
write weights to xml file
void NN_ava(Double_t *)
auxiliary functions
std::vector< Int_t > * fClass
Int_t DataInterface(Double_t *, Double_t *, Int_t *, Int_t *, Int_t *, Int_t *, Double_t *, Int_t *, Int_t *) override
data interface function
const Ranking * CreateRanking() override
void MakeClassSpecific(std::ostream &, const TString &) const override
void Train(void) override
training of the Clement-Ferrand NN classifier
void ProcessOptions() override
decode the options in the option string
Double_t GetMvaValue(Double_t *err=nullptr, Double_t *errUpper=nullptr) override
returns CFMlpANN output (normalised within [0,1])
Bool_t HasAnalysisType(Types::EAnalysisType type, UInt_t numberClasses, UInt_t) override
CFMlpANN can handle classification with 2 classes.
Double_t NN_fonc(Int_t, Double_t) const
activation function
void ReadWeightsFromStream(std::istream &istr) override
read back the weight from the training from file (stream)
void Init(void) override
default initialisation called by all constructors
virtual ~MethodCFMlpANN(void)
destructor
MethodCFMlpANN(const TString &jobName, const TString &methodTitle, DataSetInfo &theData, const TString &theOption="3000:N-1:N-2")
standard constructor
Int_t GetClass(Int_t ivar) const
void GetHelpMessage() const override
get help message text
Ranking for variables in method (implementation).
create variable transformations