Logo ROOT   6.08/07
Reference Guide
TActivationChooser.h
Go to the documentation of this file.
1 // @(#)root/tmva $Id$
2 // Author: Matt Jachowski
3 
4 /**********************************************************************************
5  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6  * Package: TMVA *
7  * Class : TMVA::TActivationChooser *
8  * Web : http://tmva.sourceforge.net *
9  * *
10  * Description: *
11  * Class for easily choosing activation functions. *
12  * *
13  * Authors (alphabetical): *
14  * Matt Jachowski <jachowski@stanford.edu> - Stanford University, USA *
15  * *
16  * Copyright (c) 2005: *
17  * CERN, Switzerland *
18  * *
19  * Redistribution and use in source and binary forms, with or without *
20  * modification, are permitted according to the terms listed in LICENSE *
21  * (http://tmva.sourceforge.net/LICENSE) *
22  **********************************************************************************/
23 
24 
25 #ifndef ROOT_TMVA_TActivationChooser
26 #define ROOT_TMVA_TActivationChooser
27 
28 //////////////////////////////////////////////////////////////////////////
29 // //
30 // TActivationChooser //
31 // //
32 // Class for easily choosing activation functions //
33 // //
34 //////////////////////////////////////////////////////////////////////////
35 
36 #include <vector>
37 #ifndef ROOT_TString
38 #include "TString.h"
39 #endif
40 
41 namespace TMVA {
42 
43  class TActivation;
44  class MsgLogger;
45 
47  public:
48 
54  };
55 
57  virtual ~TActivationChooser();
58 
61  std::vector<TString>* GetAllActivationNames() const;
62 
63  private:
64 
65  TString fLINEAR; // activation function name
66  TString fSIGMOID; // activation function name
67  TString fTANH; // activation function name
68  TString fRELU; // activation function name
69  TString fRADIAL; // activation function name
70 
71  mutable MsgLogger* fLogger; //! message logger
72  MsgLogger& Log() const { return *fLogger; }
73 
74  ClassDef(TActivationChooser,0); // Class for choosing activation functions
75  };
76 
77 } // namespace TMVA
78 
79 #endif
Basic string class.
Definition: TString.h:137
MsgLogger & Log() const
message logger
#define ClassDef(name, id)
Definition: Rtypes.h:254
TActivation * CreateActivation(EActivationType type) const
int type
Definition: TGX11.cxx:120
std::vector< TString > * GetAllActivationNames() const
Abstract ClassifierFactory template that handles arbitrary types.