Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::MethodCFMlpANN_Utils Class Referenceabstract

Implementation of Clermond-Ferrand artificial neural network.

Reference for the original FORTRAN version "mlpl3.F":

  • Authors : J. Proriol and contributions from ALEPH-Clermont-Ferrand Team members
  • Copyright: Laboratoire Physique Corpusculaire Universite de Blaise Pascal, IN2P3/CNRS

Definition at line 54 of file MethodCFMlpANN_Utils.h.

Classes

class  VARn2
 

Public Member Functions

 MethodCFMlpANN_Utils ()
 default constructor
 
virtual ~MethodCFMlpANN_Utils ()
 Destructor.
 

Protected Member Functions

void Arret (const char *mot)
 
void CollectVar (Int_t *nvar, Int_t *class__, Double_t *xpg)
 [smart comments to be added]
 
void Cout (Int_t *, Double_t *xxx)
 [smart comments to be added]
 
void Cout2 (Int_t *, Double_t *yyy)
 [smart comments to be added]
 
virtual Int_t DataInterface (Double_t *, Double_t *, Int_t *, Int_t *, Int_t *, Int_t *, Double_t *, Int_t *, Int_t *)=0
 
void En_arriere (Int_t *ievent)
 [smart comments to be added]
 
void En_avant (Int_t *ievent)
 [smart comments to be added]
 
void En_avant2 (Int_t *ievent)
 [smart comments to be added]
 
void Entree_new (Int_t *, char *, Int_t *ntrain, Int_t *ntest, Int_t *numlayer, Int_t *nodes, Int_t *numcycle, Int_t)
 
Double_t Fdecroi (Int_t *i__)
 [smart comments to be added]
 
void Foncf (Int_t *i__, Double_t *u, Double_t *f)
 
void GraphNN (Int_t *ilearn, Double_t *, Double_t *, char *, Int_t)
 [smart comments to be added]
 
void Inl ()
 [smart comments to be added]
 
void Innit (char *det, Double_t *tout2, Double_t *tin2, Int_t)
 
void Lecev2 (Int_t *ktest, Double_t *tout2, Double_t *tin2)
 [smart comments to be added]
 
void Leclearn (Int_t *ktest, Double_t *tout2, Double_t *tin2)
 [smart comments to be added]
 
void Out (Int_t *iii, Int_t *maxcycle)
 
Double_t Sen3a (void)
 [smart comments to be added]
 
void SetLogger (MsgLogger *l)
 
void TestNN ()
 [smart comments to be added]
 
void Train_nn (Double_t *tin2, Double_t *tout2, Int_t *ntrain, Int_t *ntest, Int_t *nvar2, Int_t *nlayer, Int_t *nodes, Int_t *ncycle)
 
Double_t W_ref (const Double_t wNN[], Int_t a_1, Int_t a_2, Int_t a_3) const
 
Double_tW_ref (Double_t wNN[], Int_t a_1, Int_t a_2, Int_t a_3)
 
void Wini ()
 [smart comments to be added]
 
Double_t Ww_ref (const Double_t wwNN[], Int_t a_1, Int_t a_2) const
 
Double_tWw_ref (Double_t wwNN[], Int_t a_1, Int_t a_2)
 

Protected Attributes

struct { 
 
   Double_t   ancout 
 
   Int_t   ieps 
 
   Double_t   tolcou 
 
fCost_1 
 
struct { 
 
   Double_t   coef [max_nNodes_] 
 
   Double_t   del [max_nLayers_ *max_nNodes_] 
 
   Double_t   delta [max_nLayers_ *max_nNodes_
      *max_nNodes_] 
 
   Double_t   delw [max_nLayers_ *max_nNodes_
      *max_nNodes_] 
 
   Double_t   delww [max_nLayers_ *max_nNodes_] 
 
   Double_t   demax 
 
   Double_t   demin 
 
   Int_t   idde 
 
   Double_t   temp [max_nLayers_] 
 
fDel_1 
 
Int_t fg_0
 
Int_t fg_100
 
Int_t fg_999
 
struct { 
 
   Double_t   cut [max_nNodes_] 
 
   Double_t   deltaww [max_nLayers_ *max_nNodes_] 
 
   Int_t   neuron [max_nLayers_] 
 
   Double_t   o [max_nNodes_] 
 
   Double_t   w [max_nLayers_ *max_nNodes_
      *max_nNodes_] 
 
   Double_t   ww [max_nLayers_ *max_nNodes_] 
 
   Double_t   x [max_nLayers_ *max_nNodes_] 
 
   Double_t   y [max_nLayers_ *max_nNodes_] 
 
fNeur_1 
 
struct { 
 
   Double_t   eeps 
 
   Double_t   epsmax 
 
   Double_t   epsmin 
 
   Double_t   eta 
 
   Int_t   ichoi 
 
   Int_t   itest 
 
   Int_t   layerm 
 
   Int_t   lclass 
 
   Int_t   nblearn 
 
   Int_t   ndiv 
 
   Int_t   ndivis 
 
   Int_t   nevl 
 
   Int_t   nevt 
 
   Int_t   nunap 
 
   Int_t   nunilec 
 
   Int_t   nunishort 
 
   Int_t   nunisor 
 
   Int_t   nvar 
 
fParam_1 
 
class TMVA::MethodCFMlpANN_Utils::VARn2 fVarn2_1
 
class TMVA::MethodCFMlpANN_Utils::VARn2 fVarn3_1
 
struct { 
 
   Int_t   iclass 
 
   Int_t   mclass [max_Events_] 
 
   Int_t   nclass [max_Events_] 
 
   Double_t   xmax [max_nVar_] 
 
   Double_t   xmin [max_nVar_] 
 
fVarn_1 
 

Static Protected Attributes

static const Int_t fg_max_nNodes_ = max_nNodes_
 
static const Int_t fg_max_nVar_ = max_nVar_
 
static const char *const fg_MethodName = "--- CFMlpANN "
 

Private Member Functions

MsgLoggerULog ()
 

Private Attributes

MsgLoggerfLogger
 

#include <TMVA/MethodCFMlpANN_Utils.h>

Inheritance diagram for TMVA::MethodCFMlpANN_Utils:
[legend]

Constructor & Destructor Documentation

◆ MethodCFMlpANN_Utils()

TMVA::MethodCFMlpANN_Utils::MethodCFMlpANN_Utils ( )

default constructor

Definition at line 86 of file MethodCFMlpANN_Utils.cxx.

◆ ~MethodCFMlpANN_Utils()

TMVA::MethodCFMlpANN_Utils::~MethodCFMlpANN_Utils ( )
virtual

Destructor.

Definition at line 145 of file MethodCFMlpANN_Utils.cxx.

Member Function Documentation

◆ Arret()

void TMVA::MethodCFMlpANN_Utils::Arret ( const char *  mot)
protected

Definition at line 1103 of file MethodCFMlpANN_Utils.cxx.

◆ CollectVar()

void TMVA::MethodCFMlpANN_Utils::CollectVar ( Int_t nvar,
Int_t class__,
Double_t xpg 
)
protected

[smart comments to be added]

Definition at line 1113 of file MethodCFMlpANN_Utils.cxx.

◆ Cout()

void TMVA::MethodCFMlpANN_Utils::Cout ( Int_t ,
Double_t xxx 
)
protected

[smart comments to be added]

Definition at line 752 of file MethodCFMlpANN_Utils.cxx.

◆ Cout2()

void TMVA::MethodCFMlpANN_Utils::Cout2 ( Int_t ,
Double_t yyy 
)
protected

[smart comments to be added]

Definition at line 965 of file MethodCFMlpANN_Utils.cxx.

◆ DataInterface()

virtual Int_t TMVA::MethodCFMlpANN_Utils::DataInterface ( Double_t ,
Double_t ,
Int_t ,
Int_t ,
Int_t ,
Int_t ,
Double_t ,
Int_t ,
Int_t  
)
protectedpure virtual

Implemented in TMVA::MethodCFMlpANN.

◆ En_arriere()

void TMVA::MethodCFMlpANN_Utils::En_arriere ( Int_t ievent)
protected

[smart comments to be added]

Definition at line 499 of file MethodCFMlpANN_Utils.cxx.

◆ En_avant()

void TMVA::MethodCFMlpANN_Utils::En_avant ( Int_t ievent)
protected

[smart comments to be added]

Definition at line 363 of file MethodCFMlpANN_Utils.cxx.

◆ En_avant2()

void TMVA::MethodCFMlpANN_Utils::En_avant2 ( Int_t ievent)
protected

[smart comments to be added]

Definition at line 1064 of file MethodCFMlpANN_Utils.cxx.

◆ Entree_new()

void TMVA::MethodCFMlpANN_Utils::Entree_new ( Int_t ,
char *  ,
Int_t ntrain,
Int_t ntest,
Int_t numlayer,
Int_t nodes,
Int_t numcycle,
Int_t   
)
protected

Definition at line 207 of file MethodCFMlpANN_Utils.cxx.

◆ Fdecroi()

Double_t TMVA::MethodCFMlpANN_Utils::Fdecroi ( Int_t i__)
protected

[smart comments to be added]

Definition at line 826 of file MethodCFMlpANN_Utils.cxx.

◆ Foncf()

void TMVA::MethodCFMlpANN_Utils::Foncf ( Int_t i__,
Double_t u,
Double_t f 
)
protected

Definition at line 941 of file MethodCFMlpANN_Utils.cxx.

◆ GraphNN()

void TMVA::MethodCFMlpANN_Utils::GraphNN ( Int_t ilearn,
Double_t ,
Double_t ,
char *  ,
Int_t   
)
protected

[smart comments to be added]

Definition at line 844 of file MethodCFMlpANN_Utils.cxx.

◆ Inl()

void TMVA::MethodCFMlpANN_Utils::Inl ( )
protected

[smart comments to be added]

Definition at line 790 of file MethodCFMlpANN_Utils.cxx.

◆ Innit()

void TMVA::MethodCFMlpANN_Utils::Innit ( char *  det,
Double_t tout2,
Double_t tin2,
Int_t   
)
protected

Definition at line 599 of file MethodCFMlpANN_Utils.cxx.

◆ Lecev2()

void TMVA::MethodCFMlpANN_Utils::Lecev2 ( Int_t ktest,
Double_t tout2,
Double_t tin2 
)
protected

[smart comments to be added]

Definition at line 1001 of file MethodCFMlpANN_Utils.cxx.

◆ Leclearn()

void TMVA::MethodCFMlpANN_Utils::Leclearn ( Int_t ktest,
Double_t tout2,
Double_t tin2 
)
protected

[smart comments to be added]

Definition at line 404 of file MethodCFMlpANN_Utils.cxx.

◆ Out()

void TMVA::MethodCFMlpANN_Utils::Out ( Int_t iii,
Int_t maxcycle 
)
protected

Definition at line 582 of file MethodCFMlpANN_Utils.cxx.

◆ Sen3a()

Double_t TMVA::MethodCFMlpANN_Utils::Sen3a ( void  )
protected

[smart comments to be added]

Definition at line 907 of file MethodCFMlpANN_Utils.cxx.

◆ SetLogger()

void TMVA::MethodCFMlpANN_Utils::SetLogger ( MsgLogger l)
inlineprotected

Definition at line 192 of file MethodCFMlpANN_Utils.h.

◆ TestNN()

void TMVA::MethodCFMlpANN_Utils::TestNN ( )
protected

[smart comments to be added]

Definition at line 696 of file MethodCFMlpANN_Utils.cxx.

◆ Train_nn()

void TMVA::MethodCFMlpANN_Utils::Train_nn ( Double_t tin2,
Double_t tout2,
Int_t ntrain,
Int_t ntest,
Int_t nvar2,
Int_t nlayer,
Int_t nodes,
Int_t ncycle 
)
protected

Definition at line 151 of file MethodCFMlpANN_Utils.cxx.

◆ ULog()

MsgLogger & TMVA::MethodCFMlpANN_Utils::ULog ( )
inlineprivate

Definition at line 196 of file MethodCFMlpANN_Utils.h.

◆ W_ref() [1/2]

Double_t TMVA::MethodCFMlpANN_Utils::W_ref ( const Double_t  wNN[],
Int_t  a_1,
Int_t  a_2,
Int_t  a_3 
) const
inlineprotected

Definition at line 103 of file MethodCFMlpANN_Utils.h.

◆ W_ref() [2/2]

Double_t & TMVA::MethodCFMlpANN_Utils::W_ref ( Double_t  wNN[],
Int_t  a_1,
Int_t  a_2,
Int_t  a_3 
)
inlineprotected

Definition at line 106 of file MethodCFMlpANN_Utils.h.

◆ Wini()

void TMVA::MethodCFMlpANN_Utils::Wini ( )
protected

[smart comments to be added]

Definition at line 332 of file MethodCFMlpANN_Utils.cxx.

◆ Ww_ref() [1/2]

Double_t TMVA::MethodCFMlpANN_Utils::Ww_ref ( const Double_t  wwNN[],
Int_t  a_1,
Int_t  a_2 
) const
inlineprotected

Definition at line 110 of file MethodCFMlpANN_Utils.h.

◆ Ww_ref() [2/2]

Double_t & TMVA::MethodCFMlpANN_Utils::Ww_ref ( Double_t  wwNN[],
Int_t  a_1,
Int_t  a_2 
)
inlineprotected

Definition at line 113 of file MethodCFMlpANN_Utils.h.

Member Data Documentation

◆ ancout

Double_t TMVA::MethodCFMlpANN_Utils::ancout

Definition at line 188 of file MethodCFMlpANN_Utils.h.

◆ coef

Double_t TMVA::MethodCFMlpANN_Utils::coef[max_nNodes_]

Definition at line 178 of file MethodCFMlpANN_Utils.h.

◆ cut

Double_t TMVA::MethodCFMlpANN_Utils::cut[max_nNodes_]

Definition at line 171 of file MethodCFMlpANN_Utils.h.

◆ del

Double_t TMVA::MethodCFMlpANN_Utils::del[max_nLayers_ *max_nNodes_]

Definition at line 179 of file MethodCFMlpANN_Utils.h.

◆ delta

Double_t TMVA::MethodCFMlpANN_Utils::delta[max_nLayers_ *max_nNodes_ *max_nNodes_]

Definition at line 181 of file MethodCFMlpANN_Utils.h.

◆ deltaww

Double_t TMVA::MethodCFMlpANN_Utils::deltaww[max_nLayers_ *max_nNodes_]

Definition at line 172 of file MethodCFMlpANN_Utils.h.

◆ delw

Double_t TMVA::MethodCFMlpANN_Utils::delw[max_nLayers_ *max_nNodes_ *max_nNodes_]

Definition at line 180 of file MethodCFMlpANN_Utils.h.

◆ delww

Double_t TMVA::MethodCFMlpANN_Utils::delww[max_nLayers_ *max_nNodes_]

Definition at line 182 of file MethodCFMlpANN_Utils.h.

◆ demax

Double_t TMVA::MethodCFMlpANN_Utils::demax

Definition at line 178 of file MethodCFMlpANN_Utils.h.

◆ demin

Double_t TMVA::MethodCFMlpANN_Utils::demin

Definition at line 178 of file MethodCFMlpANN_Utils.h.

◆ eeps

Double_t TMVA::MethodCFMlpANN_Utils::eeps

Definition at line 119 of file MethodCFMlpANN_Utils.h.

◆ epsmax

Double_t TMVA::MethodCFMlpANN_Utils::epsmax

Definition at line 119 of file MethodCFMlpANN_Utils.h.

◆ epsmin

Double_t TMVA::MethodCFMlpANN_Utils::epsmin

Definition at line 119 of file MethodCFMlpANN_Utils.h.

◆ eta

Double_t TMVA::MethodCFMlpANN_Utils::eta

Definition at line 119 of file MethodCFMlpANN_Utils.h.

◆ [struct]

struct { ... } TMVA::MethodCFMlpANN_Utils::fCost_1

◆ [struct]

struct { ... } TMVA::MethodCFMlpANN_Utils::fDel_1

◆ fg_0

Int_t TMVA::MethodCFMlpANN_Utils::fg_0
protected

Definition at line 97 of file MethodCFMlpANN_Utils.h.

◆ fg_100

Int_t TMVA::MethodCFMlpANN_Utils::fg_100
protected

Definition at line 96 of file MethodCFMlpANN_Utils.h.

◆ fg_999

Int_t TMVA::MethodCFMlpANN_Utils::fg_999
protected

Definition at line 100 of file MethodCFMlpANN_Utils.h.

◆ fg_max_nNodes_

const Int_t TMVA::MethodCFMlpANN_Utils::fg_max_nNodes_ = max_nNodes_
staticprotected

Definition at line 99 of file MethodCFMlpANN_Utils.h.

◆ fg_max_nVar_

const Int_t TMVA::MethodCFMlpANN_Utils::fg_max_nVar_ = max_nVar_
staticprotected

Definition at line 98 of file MethodCFMlpANN_Utils.h.

◆ fg_MethodName

const char *const TMVA::MethodCFMlpANN_Utils::fg_MethodName = "--- CFMlpANN "
staticprotected

Definition at line 101 of file MethodCFMlpANN_Utils.h.

◆ fLogger

MsgLogger* TMVA::MethodCFMlpANN_Utils::fLogger
private

Definition at line 195 of file MethodCFMlpANN_Utils.h.

◆ [struct]

struct { ... } TMVA::MethodCFMlpANN_Utils::fNeur_1

◆ [struct]

struct { ... } TMVA::MethodCFMlpANN_Utils::fParam_1

◆ fVarn2_1

class TMVA::MethodCFMlpANN_Utils::VARn2 TMVA::MethodCFMlpANN_Utils::fVarn2_1
protected

◆ fVarn3_1

class TMVA::MethodCFMlpANN_Utils::VARn2 TMVA::MethodCFMlpANN_Utils::fVarn3_1
protected

◆ [struct]

struct { ... } TMVA::MethodCFMlpANN_Utils::fVarn_1

◆ ichoi

Int_t TMVA::MethodCFMlpANN_Utils::ichoi

Definition at line 121 of file MethodCFMlpANN_Utils.h.

◆ iclass

Int_t TMVA::MethodCFMlpANN_Utils::iclass

Definition at line 127 of file MethodCFMlpANN_Utils.h.

◆ idde

Int_t TMVA::MethodCFMlpANN_Utils::idde

Definition at line 183 of file MethodCFMlpANN_Utils.h.

◆ ieps

Int_t TMVA::MethodCFMlpANN_Utils::ieps

Definition at line 189 of file MethodCFMlpANN_Utils.h.

◆ itest

Int_t TMVA::MethodCFMlpANN_Utils::itest

Definition at line 121 of file MethodCFMlpANN_Utils.h.

◆ layerm

Int_t TMVA::MethodCFMlpANN_Utils::layerm

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ lclass

Int_t TMVA::MethodCFMlpANN_Utils::lclass

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ mclass

Int_t TMVA::MethodCFMlpANN_Utils::mclass[max_Events_]

Definition at line 127 of file MethodCFMlpANN_Utils.h.

◆ nblearn

Int_t TMVA::MethodCFMlpANN_Utils::nblearn

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ nclass

Int_t TMVA::MethodCFMlpANN_Utils::nclass[max_Events_]

Definition at line 127 of file MethodCFMlpANN_Utils.h.

◆ ndiv

Int_t TMVA::MethodCFMlpANN_Utils::ndiv

Definition at line 121 of file MethodCFMlpANN_Utils.h.

◆ ndivis

Int_t TMVA::MethodCFMlpANN_Utils::ndivis

Definition at line 121 of file MethodCFMlpANN_Utils.h.

◆ neuron

Int_t TMVA::MethodCFMlpANN_Utils::neuron[max_nLayers_]

Definition at line 173 of file MethodCFMlpANN_Utils.h.

◆ nevl

Int_t TMVA::MethodCFMlpANN_Utils::nevl

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ nevt

Int_t TMVA::MethodCFMlpANN_Utils::nevt

Definition at line 121 of file MethodCFMlpANN_Utils.h.

◆ nunap

Int_t TMVA::MethodCFMlpANN_Utils::nunap

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ nunilec

Int_t TMVA::MethodCFMlpANN_Utils::nunilec

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ nunishort

Int_t TMVA::MethodCFMlpANN_Utils::nunishort

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ nunisor

Int_t TMVA::MethodCFMlpANN_Utils::nunisor

Definition at line 120 of file MethodCFMlpANN_Utils.h.

◆ nvar

Int_t TMVA::MethodCFMlpANN_Utils::nvar

Definition at line 121 of file MethodCFMlpANN_Utils.h.

◆ o

Double_t TMVA::MethodCFMlpANN_Utils::o[max_nNodes_]

Definition at line 168 of file MethodCFMlpANN_Utils.h.

◆ temp

Double_t TMVA::MethodCFMlpANN_Utils::temp[max_nLayers_]

Definition at line 178 of file MethodCFMlpANN_Utils.h.

◆ tolcou

Double_t TMVA::MethodCFMlpANN_Utils::tolcou

Definition at line 188 of file MethodCFMlpANN_Utils.h.

◆ w

Double_t TMVA::MethodCFMlpANN_Utils::w[max_nLayers_ *max_nNodes_ *max_nNodes_]

Definition at line 169 of file MethodCFMlpANN_Utils.h.

◆ ww

Double_t TMVA::MethodCFMlpANN_Utils::ww[max_nLayers_ *max_nNodes_]

Definition at line 170 of file MethodCFMlpANN_Utils.h.

◆ x

Double_t TMVA::MethodCFMlpANN_Utils::x[max_nLayers_ *max_nNodes_]

Definition at line 166 of file MethodCFMlpANN_Utils.h.

◆ xmax

Double_t TMVA::MethodCFMlpANN_Utils::xmax[max_nVar_]

Definition at line 126 of file MethodCFMlpANN_Utils.h.

◆ xmin

Double_t TMVA::MethodCFMlpANN_Utils::xmin[max_nVar_]

Definition at line 126 of file MethodCFMlpANN_Utils.h.

◆ y

Double_t TMVA::MethodCFMlpANN_Utils::y[max_nLayers_ *max_nNodes_]

Definition at line 167 of file MethodCFMlpANN_Utils.h.

  • tmva/tmva/inc/TMVA/MethodCFMlpANN_Utils.h
  • tmva/tmva/src/MethodCFMlpANN_Utils.cxx