24#ifndef ROOT_TMVA_TSynapse
25#define ROOT_TMVA_TSynapse
#define ClassDef(name, id)
ostringstream derivative to redirect and format output
Neuron class used by TMVA artificial neural network methods.
Synapse class used by TMVA artificial neural network methods.
TNeuron * fPostNeuron
pointer to post-neuron
void SetWeight(Double_t weight)
set synapse weight
Double_t fDelta
local error field
Double_t fWeight
weight of the synapse
Double_t GetWeightedValue()
get output of pre-neuron weighted by synapse weight
Double_t GetLearningRate()
Int_t fCount
number of updates contributing to error field
Double_t fDEDw
sum of deltas
Double_t GetWeightedDelta()
get error field of post-neuron weighted by synapse weight
void SetPostNeuron(TNeuron *post)
virtual ~TSynapse()
destructor
void SetDEDw(Double_t DEDw)
void SetLearningRate(Double_t rate)
TNeuron * fPreNeuron
pointer to pre-neuron
Double_t fLearnRate
learning rate parameter
void AdjustWeight()
adjust the weight based on the error field all ready calculated by CalculateDelta
void SetPreNeuron(TNeuron *pre)
void DecayLearningRate(Double_t rate)
void CalculateDelta()
calculate/adjust the error field for this synapse
This class describes an elementary neuron, which is the basic element for a Neural Network.
Mother of all ROOT objects.
create variable transformations