* *
* Authors (alphabetical): *
* Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
* Xavier Prudent <prudent@lapp.in2p3.fr> - LAPP, France *
* Helge Voss <Helge.Voss@cern.ch> - MPI-KP Heidelberg, Germany *
* Kai Voss <Kai.Voss@cern.ch> - U. of Victoria, Canada *
* *
* Copyright (c) 2005: *
* CERN, Switzerland, *
* U. of Victoria, Canada, *
* MPI-KP Heidelberg, Germany, *
* LAPP, Annecy, France *
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted according to the terms listed in LICENSE *
* (http://mva.sourceforge.net/license.txt) *
* *
* File and Version Information: *
* $Id: MethodTMlpANN.h,v 1.2 2006/05/23 13:03:15 brun Exp $
**********************************************************************************/
#ifndef ROOT_TMVA_MethodTMlpANN
#define ROOT_TMVA_MethodTMlpANN
#ifndef ROOT_TMVA_MethodANNBase
#include "TMVA/MethodANNBase.h"
#endif
#ifndef ROOT_TMVA_MethodBase
#include "TMVA/MethodBase.h"
#endif
namespace TMVA {
class MethodTMlpANN : public MethodBase, MethodANNBase {
public:
MethodTMlpANN( TString jobName,
vector<TString>* theVariables,
TTree* theTree = 0,
TString theOption = "3000:N-1:N-2",
TDirectory* theTargetDir = 0 );
MethodTMlpANN( vector<TString> *theVariables,
TString theWeightFile,
TDirectory* theTargetDir = NULL );
virtual ~MethodTMlpANN( void );
virtual void Train( void );
virtual void WriteWeightsToFile( void );
virtual void ReadWeightsFromFile( void );
virtual void PrepareEvaluationTree( TTree* testTree );
virtual Double_t GetMvaValue( Event * ) { return 0; }
virtual void WriteHistosToFile( void );
void SetTestTree( TTree* testTree );
void SetHiddenLayer(TString hiddenlayer = "" ) { fHiddenLayer=hiddenlayer; }
protected:
private:
void CreateMLPOptions( void );
TString fHiddenLayer;
Int_t fNcycles;
TTree* fTestTree;
void InitTMlpANN( void );
ClassDef(MethodTMlpANN,0)
};
}
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.