78   if (fPreNeuron == NULL)
 
   79      Log() << kFATAL << 
"<GetWeightedValue> synapse not connected to neuron" << 
Endl;
 
   81   return (fWeight * fPreNeuron->GetActivationValue());
 
   89   if (fPostNeuron == NULL)
 
   90      Log() << kFATAL << 
"<GetWeightedDelta> synapse not connected to neuron" << 
Endl;
 
   92   return fWeight * fPostNeuron->GetDelta();
 
  101   fWeight += -fLearnRate * wDelta;
 
  110   fDelta += fPostNeuron->GetDelta() * fPreNeuron->GetActivationValue();
 
  118   TTHREAD_TLS_DECL_ARG(
MsgLogger,logger,
"TSynapse");  
 
ostringstream derivative to redirect and format output
 
Synapse class used by TMVA artificial neural network methods.
 
void SetWeight(Double_t weight)
set synapse weight
 
Double_t fWeight
weight of the synapse
 
Double_t GetWeightedValue()
get output of pre-neuron weighted by synapse weight
 
Double_t GetWeightedDelta()
get error field of post-neuron weighted by synapse weight
 
virtual ~TSynapse()
destructor
 
void AdjustWeight()
adjust the weight based on the error field all ready calculated by CalculateDelta
 
void CalculateDelta()
calculate/adjust the error field for this synapse
 
MsgLogger & Endl(MsgLogger &ml)
 
static const Int_t fgUNINITIALIZED