|
Public Member Functions |
| | Interface () |
| | Interface (std::string trName, std::string dirName, std::string fileName) |
| | ~Interface () |
| void | SetInputVariableAt (Int_t index, TVariable var) |
| void | SetTargetVariableAt (Int_t index, TVariable var) |
| TVariable & | GetInputVariable (Int_t index) |
| TVariable & | GetTargetVariable (Int_t index) |
| std::string | getTreeName () const |
| std::string | getNetName () |
| TFile * | GetOutFile () |
| Double_t | getAverageValidError () const |
| Double_t | getMinimumValidError () const |
| Int_t | getMinimumValidErrorEpoch () const |
| void | SetMaximumEpochs (Int_t i) |
| void | SetUpdateEpochs (Int_t i) |
| void | setTreeName (std::string name) |
| void | setNetName (std::string name) |
| void | setOutDirectory (std::string name) |
| void | WriteMasterTree (Bool_t flag) |
| void | WritePerformanceTree (Bool_t flag) |
| void | WritePatternTree (Bool_t flag) |
| void | WriteErrorHistograms (Bool_t flag) |
| Bool_t | WriteMasterTree () |
| Bool_t | WritePerformanceTree () |
| Bool_t | WritePatternTree () |
| Bool_t | WriteErrorHistograms () |
| void | setMinimumValidError (Double_t value) |
| Int_t | PrintVariables () |
| | Prints out definitions of input and target variables.
|
| void | AddInputVariable (TString formula, TString name, Double_t defValue=0.0) |
| | Adds a variable to the vector of input variables .
|
| void | AddInputVariable (TString formula, Double_t defValue=0.0) |
| | Adds a variable to the vector of input variables .
|
| void | AddTargetVariable (TString formula, TString name, Double_t defValue=0.0) |
| | Adds a variable to the vector of target variables .
|
| void | AddTargetVariable (TString formula, Double_t defValue=0.0) |
| | Adds a variable to the vector of target variables .
|
| Int_t | AllocatePatternSet (std::string type="") |
| | Creates a new SNNS pattern set in memory by setting activations of input and output NN units.
|
| void | SetSelection (std::string selection="") |
| void | FillPatternSet (std::string fileName, Int_t startEvent=0, Int_t nOfEvents=-1, std::string type="") |
| | Fills the pattern set vector with values from an input file given by .
|
| void | savePatternSets () |
| | Saves the input, target, and output values of each pattern to a tree in the output file.
|
| std::string | runtimeInput2string () |
| std::string | CreateNN (std::vector< Int_t > numHiddenNodes) |
| | Creates a file containing NN definition in SNNS format with the given number of hidden units.
|
| void | InitializeNN (std::vector< Float_t > initParams=0, std::string initFunc="Randomize_Weights", Int_t randomSeed=12345) |
| | Initializes the neural network with different initialization functions and corresponding parameters.
|
| void | TrainValidate (std::string trainType, std::string validType, std::vector< Double_t > learnParams) |
| | The main training proceedure with online validation of the neural network using the pattern set.
|
| void | TrainValidateApply (std::string trainType, std::string validType, std::vector< Double_t > learnParams, std::string genErrType) |
| void | PropagatePatterns (std::string type="") |
| | Using this method user can propagate the whole pattern set or its subset specified by through the ANN.
|
| void | ActivateInputs (Pattern pattern) |
| void | FillPerformanceTree () |
| void | CalculateError (std::string type) |
| | Calculats an error defined as the difference between an actual NN output and a desired target value.
|
| Int_t | AllocNewPatternSet () |
| void | LoadNN () |
| | Loads a neural network definition from the file and makes it the currently active one.
|
| void | LoadNN (char *filename, char **netname) |
| | Loads a neural network definition from the file and makes it the currently active one.
|
| void | SaveNN (char *filename, char *netname) |
| | Saves the currently active neural network to the file.
|
| void | SetSeedNo (long seed) |
| void | SetLearnFunc (char *learning_func) |
| char * | GetLearnFunc () |
| void | Finalize () |
| void | PrintProgress (Int_t i, Int_t iMax) |
| Int_t | Timer (Int_t i) |
| std::string | TimeStoHMS (UInt_t diffTime) |
Protected Attributes |
| std::vector< TVariable > | fInputVariables |
| std::vector< TVariable > | fTargetVariables |
| std::string | _pathto_ff_bignet |
| std::string | fNetFilePrefix |
| std::string | fNetFileSuffix |
| std::string | fNetName |
| | The name of a currently active NN.
|
| std::string | fTreeName |
| std::string | fDirName |
| std::string | fSelection |
| TObjArray * | fInputTrees |
| TFile * | fOutFile |
| TTree * | fMasterTree |
| TTree * | fPatternTree |
| TTree * | fPerformaceTree |
| Bool_t | fWriteMasterTree |
| Bool_t | fWritePerformanceTree |
| Bool_t | fWritePatternTree |
| Bool_t | fWriteErrorHistograms |
| Bool_t | fBannerPrinted |
| Int_t | fMaxEpochs |
| Int_t | fUpdEpochs |
| Double_t | averageValidError |
| Double_t | minimumValidError |
| Int_t | minimumValidErrorEpoch |
| Double_t | RMSTestError |
| Int_t | hiddenLayerSize |
| Int_t | fRandomSeed |