#include <TNeuron.h>
Inheritance diagram for TMVA::TNeuron:
Definition at line 61 of file TNeuron.h.
TMVA::TNeuron::TNeuron | ( | ) |
TNeuron::~TNeuron | ( | ) | [virtual] |
TMVA::TNeuron::TNeuron | ( | ) |
virtual TMVA::TNeuron::~TNeuron | ( | ) | [virtual] |
void TNeuron::ForceValue | ( | Double_t | value | ) |
Definition at line 87 of file TNeuron.cxx.
References fForcedValue, fValue, and kTRUE.
Referenced by TMVA::MethodANNBase::BuildLayer(), TMVA::MethodANNBase::ForceNetworkInputs(), TMVA::MethodANNBase::GetMulticlassValues(), TMVA::MethodANNBase::GetMvaValue(), TMVA::MethodANNBase::GetRegressionValues(), and TMVA::MethodMLP::TrainOneEventFast().
void TNeuron::CalculateValue | ( | ) |
Definition at line 95 of file TNeuron.cxx.
References fForcedValue, fInputCalculator, fValue, and TMVA::TNeuronInput::GetInput().
Referenced by TMVA::MethodANNBase::ForceNetworkCalculations().
void TNeuron::CalculateActivationValue | ( | ) |
Definition at line 103 of file TNeuron.cxx.
References TMVA::TActivation::Eval(), fActivation, fActivationValue, fValue, TMVA::kWARNING, NULL, PrintMessage(), and UNINITIALIZED.
Referenced by TMVA::MethodANNBase::ForceNetworkCalculations().
void TNeuron::CalculateDelta | ( | ) |
Definition at line 117 of file TNeuron.cxx.
References error, TMVA::TActivation::EvalDerivative(), fActivation, fDelta, fError, fLinksOut, GetValue(), TMVA::TSynapse::GetWeightedDelta(), IsInputNeuron(), IsOutputNeuron(), TObjArray::MakeIterator(), TObjArrayIter::Next(), and NULL.
Referenced by TMVA::MethodMLP::CalculateNeuronDeltas().
void TNeuron::SetActivationEqn | ( | TActivation * | activation | ) |
Definition at line 159 of file TNeuron.cxx.
References fActivation, and NULL.
Referenced by TMVA::MethodANNBase::BuildLayer().
void TNeuron::SetInputCalculator | ( | TNeuronInput * | calculator | ) |
Definition at line 151 of file TNeuron.cxx.
References fInputCalculator, and NULL.
Referenced by TMVA::MethodANNBase::BuildLayer().
void TNeuron::AddPreLink | ( | TSynapse * | pre | ) |
Definition at line 167 of file TNeuron.cxx.
References TObjArray::Add(), fLinksIn, and IsInputNeuron().
Referenced by TMVA::MethodANNBase::AddPreLinks().
void TNeuron::AddPostLink | ( | TSynapse * | post | ) |
Definition at line 175 of file TNeuron.cxx.
References TObjArray::Add(), fLinksOut, and IsOutputNeuron().
Referenced by TMVA::MethodANNBase::AddPreLinks().
void TNeuron::DeletePreLinks | ( | ) |
Definition at line 183 of file TNeuron.cxx.
References DeleteLinksArray(), and fLinksIn.
Referenced by TMVA::MethodANNBase::DeleteNetworkLayer().
void TNeuron::SetError | ( | Double_t | error | ) |
Definition at line 207 of file TNeuron.cxx.
References fError, IsOutputNeuron(), TMVA::kWARNING, and PrintMessage().
Referenced by TMVA::MethodMLP::GetApproxInvHessian(), TMVA::MethodMLP::GetMvaValueAsymError(), TMVA::MethodMLP::SimulateEvent(), and TMVA::MethodMLP::UpdateNetwork().
void TNeuron::UpdateSynapsesBatch | ( | ) |
Definition at line 217 of file TNeuron.cxx.
References TMVA::TSynapse::CalculateDelta(), fLinksIn, IsInputNeuron(), TObjArray::MakeIterator(), TObjArrayIter::Next(), and NULL.
Referenced by TMVA::MethodMLP::UpdateSynapses().
void TNeuron::UpdateSynapsesSequential | ( | ) |
Definition at line 237 of file TNeuron.cxx.
References TMVA::TSynapse::AdjustWeight(), TMVA::TSynapse::CalculateDelta(), fLinksIn, TMVA::TSynapse::InitDelta(), IsInputNeuron(), TObjArray::MakeIterator(), TObjArrayIter::Next(), and NULL.
Referenced by TMVA::MethodMLP::UpdateSynapses().
void TNeuron::AdjustSynapseWeights | ( | ) |
Definition at line 259 of file TNeuron.cxx.
References TMVA::TSynapse::AdjustWeight(), fLinksIn, IsInputNeuron(), TObjArray::MakeIterator(), TObjArrayIter::Next(), and NULL.
Referenced by TMVA::MethodMLP::AdjustSynapseWeights().
void TNeuron::InitSynapseDeltas | ( | ) |
Definition at line 279 of file TNeuron.cxx.
References fLinksIn, TMVA::TSynapse::InitDelta(), IsInputNeuron(), TObjArray::MakeIterator(), TObjArrayIter::Next(), and NULL.
void TNeuron::PrintActivationEqn | ( | ) |
Definition at line 324 of file TNeuron.cxx.
References Endl, fActivation, TMVA::TActivation::GetExpression(), TMVA::kDEBUG, Log(), and NULL.
Referenced by TMVA::MethodANNBase::PrintNeuron().
Double_t TMVA::TNeuron::GetValue | ( | ) | const [inline] |
Definition at line 116 of file TNeuron.h.
References fValue.
Referenced by CalculateDelta(), TMVA::MethodMLP::GetMvaValueAsymError(), and TMVA::MethodANNBase::PrintNeuron().
Double_t TMVA::TNeuron::GetActivationValue | ( | ) | const [inline] |
Definition at line 117 of file TNeuron.h.
References fActivationValue.
Referenced by TMVA::TSynapse::CalculateDelta(), TMVA::MethodMLP::CalculateEstimator(), TMVA::MethodMLP::GetCEErr(), TMVA::MethodMLP::GetMSEErr(), TMVA::MethodANNBase::GetMvaValue(), TMVA::MethodANNBase::GetNetworkOutput(), TMVA::TSynapse::GetWeightedValue(), TMVA::MethodANNBase::PrintNeuron(), TMVA::MethodMLP::SimulateEvent(), and TMVA::MethodMLP::UpdateNetwork().
Double_t TMVA::TNeuron::GetDelta | ( | ) | const [inline] |
Definition at line 118 of file TNeuron.h.
References fDelta.
Referenced by TMVA::TSynapse::CalculateDelta(), TMVA::TSynapse::GetWeightedDelta(), and TMVA::MethodANNBase::PrintNeuron().
Double_t TMVA::TNeuron::GetDEDw | ( | ) | const [inline] |
Int_t TMVA::TNeuron::NumPreLinks | ( | ) | const [inline] |
Definition at line 120 of file TNeuron.h.
References fLinksIn, and NumLinks().
Referenced by TMVA::TNeuronInputSqSum::GetInput(), TMVA::TNeuronInputAbs::GetInput(), TMVA::TNeuronInputSum::GetInput(), and TMVA::MethodANNBase::PrintLayer().
Int_t TMVA::TNeuron::NumPostLinks | ( | ) | const [inline] |
Definition at line 121 of file TNeuron.h.
References fLinksOut, and NumLinks().
Referenced by TMVA::MethodANNBase::CreateRanking(), and TMVA::MethodANNBase::PrintLayer().
Definition at line 122 of file TNeuron.h.
References TObjArray::At(), and fLinksIn.
Referenced by TMVA::TNeuronInputSqSum::GetInput(), TMVA::TNeuronInputAbs::GetInput(), and TMVA::TNeuronInputSum::GetInput().
Definition at line 123 of file TNeuron.h.
References TObjArray::At(), and fLinksOut.
Referenced by TMVA::MethodANNBase::CreateRanking(), and TMVA::MethodANNBase::ReadWeightsFromXML().
void TMVA::TNeuron::SetInputNeuron | ( | ) | [inline] |
Definition at line 124 of file TNeuron.h.
References fLinksIn, and NullifyLinks().
Referenced by TMVA::MethodANNBase::BuildLayer().
void TMVA::TNeuron::SetOutputNeuron | ( | ) | [inline] |
Definition at line 125 of file TNeuron.h.
References fLinksOut, and NullifyLinks().
Referenced by TMVA::MethodANNBase::BuildLayer().
void TMVA::TNeuron::SetBiasNeuron | ( | ) | [inline] |
Definition at line 126 of file TNeuron.h.
References fLinksIn, and NullifyLinks().
Referenced by TMVA::MethodANNBase::BuildLayer().
void TMVA::TNeuron::SetDEDw | ( | Double_t | DEDw | ) | [inline] |
Bool_t TMVA::TNeuron::IsInputNeuron | ( | ) | const [inline] |
Definition at line 128 of file TNeuron.h.
References fLinksIn, and NULL.
Referenced by AddPreLink(), AdjustSynapseWeights(), CalculateDelta(), TMVA::TNeuronInputSqSum::GetInput(), TMVA::TNeuronInputAbs::GetInput(), TMVA::TNeuronInputSum::GetInput(), InitSynapseDeltas(), UpdateSynapsesBatch(), and UpdateSynapsesSequential().
Bool_t TMVA::TNeuron::IsOutputNeuron | ( | ) | const [inline] |
Definition at line 129 of file TNeuron.h.
References fLinksOut, and NULL.
Referenced by AddPostLink(), CalculateDelta(), and SetError().
void TMVA::TNeuron::PrintPreLinks | ( | ) | const [inline] |
Definition at line 130 of file TNeuron.h.
References fLinksIn, and PrintLinks().
Referenced by TMVA::MethodANNBase::PrintNeuron().
void TMVA::TNeuron::PrintPostLinks | ( | ) | const [inline] |
Definition at line 131 of file TNeuron.h.
References fLinksOut, and PrintLinks().
Referenced by TMVA::MethodANNBase::PrintNeuron().
virtual void TMVA::TNeuron::Print | ( | Option_t * | = "" |
) | const [inline, virtual] |
void TNeuron::InitNeuron | ( | ) | [private] |
Definition at line 71 of file TNeuron.cxx.
References fActivation, fActivationValue, fDEDw, fDelta, fError, fForcedValue, fInputCalculator, fLinksIn, fLinksOut, fValue, kFALSE, NULL, and UNINITIALIZED.
void TNeuron::DeleteLinksArray | ( | TObjArray *& | links | ) | [private] |
Definition at line 190 of file TNeuron.cxx.
References TObjArray::At(), TObjArray::GetEntriesFast(), i, and NULL.
Referenced by DeletePreLinks().
void TNeuron::PrintLinks | ( | TObjArray * | links | ) | const [private] |
Definition at line 300 of file TNeuron.cxx.
References TObjArray::At(), Endl, TObjArray::GetEntriesFast(), TMVA::TSynapse::GetLearningRate(), TMVA::TSynapse::GetWeight(), TMVA::TSynapse::GetWeightedDelta(), TMVA::TSynapse::GetWeightedValue(), i, TMVA::kDEBUG, Log(), and NULL.
Referenced by PrintPostLinks(), and PrintPreLinks().
Definition at line 332 of file TNeuron.cxx.
Referenced by CalculateActivationValue(), and SetError().
Definition at line 147 of file TNeuron.h.
References TObjArray::GetEntriesFast(), and NULL.
Referenced by NumPostLinks(), and NumPreLinks().
void TMVA::TNeuron::NullifyLinks | ( | TObjArray *& | links | ) | [inline, private] |
Definition at line 150 of file TNeuron.h.
References NULL.
Referenced by SetBiasNeuron(), SetInputNeuron(), and SetOutputNeuron().
MsgLogger& TMVA::TNeuron::Log | ( | ) | const [inline, private] |
message logger, static to save resources
Definition at line 167 of file TNeuron.h.
References fgLogger.
Referenced by PrintActivationEqn(), PrintLinks(), and PrintMessage().
void TMVA::TNeuron::ForceValue | ( | Double_t | value | ) |
void TMVA::TNeuron::CalculateValue | ( | ) |
void TMVA::TNeuron::CalculateActivationValue | ( | ) |
void TMVA::TNeuron::CalculateDelta | ( | ) |
void TMVA::TNeuron::SetActivationEqn | ( | TActivation * | activation | ) |
void TMVA::TNeuron::SetInputCalculator | ( | TNeuronInput * | calculator | ) |
void TMVA::TNeuron::AddPreLink | ( | TSynapse * | pre | ) |
void TMVA::TNeuron::AddPostLink | ( | TSynapse * | post | ) |
void TMVA::TNeuron::DeletePreLinks | ( | ) |
void TMVA::TNeuron::SetError | ( | Double_t | error | ) |
void TMVA::TNeuron::UpdateSynapsesBatch | ( | ) |
void TMVA::TNeuron::UpdateSynapsesSequential | ( | ) |
void TMVA::TNeuron::AdjustSynapseWeights | ( | ) |
void TMVA::TNeuron::InitSynapseDeltas | ( | ) |
void TMVA::TNeuron::PrintActivationEqn | ( | ) |
Double_t TMVA::TNeuron::GetValue | ( | ) | const [inline] |
Double_t TMVA::TNeuron::GetActivationValue | ( | ) | const [inline] |
Double_t TMVA::TNeuron::GetDelta | ( | ) | const [inline] |
Double_t TMVA::TNeuron::GetDEDw | ( | ) | const [inline] |
Int_t TMVA::TNeuron::NumPreLinks | ( | ) | const [inline] |
Int_t TMVA::TNeuron::NumPostLinks | ( | ) | const [inline] |
void TMVA::TNeuron::SetInputNeuron | ( | ) | [inline] |
void TMVA::TNeuron::SetOutputNeuron | ( | ) | [inline] |
void TMVA::TNeuron::SetBiasNeuron | ( | ) | [inline] |
void TMVA::TNeuron::SetDEDw | ( | Double_t | DEDw | ) | [inline] |
Bool_t TMVA::TNeuron::IsInputNeuron | ( | ) | const [inline] |
Bool_t TMVA::TNeuron::IsOutputNeuron | ( | ) | const [inline] |
void TMVA::TNeuron::PrintPreLinks | ( | ) | const [inline] |
void TMVA::TNeuron::PrintPostLinks | ( | ) | const [inline] |
virtual void TMVA::TNeuron::Print | ( | Option_t * | = "" |
) | const [inline, virtual] |
void TMVA::TNeuron::InitNeuron | ( | ) | [private] |
void TMVA::TNeuron::DeleteLinksArray | ( | TObjArray *& | links | ) | [private] |
void TMVA::TNeuron::PrintLinks | ( | TObjArray * | links | ) | const [private] |
void TMVA::TNeuron::NullifyLinks | ( | TObjArray *& | links | ) | [inline, private] |
MsgLogger& TMVA::TNeuron::Log | ( | ) | const [inline, private] |
TObjArray* TMVA::TNeuron::fLinksIn [private] |
Definition at line 155 of file TNeuron.h.
Referenced by AddPreLink(), AdjustSynapseWeights(), DeletePreLinks(), InitNeuron(), InitSynapseDeltas(), IsInputNeuron(), NumPreLinks(), PreLinkAt(), PrintPreLinks(), SetBiasNeuron(), SetInputNeuron(), UpdateSynapsesBatch(), UpdateSynapsesSequential(), and ~TNeuron().
TObjArray* TMVA::TNeuron::fLinksOut [private] |
Definition at line 156 of file TNeuron.h.
Referenced by AddPostLink(), CalculateDelta(), InitNeuron(), IsOutputNeuron(), NumPostLinks(), PostLinkAt(), PrintPostLinks(), SetOutputNeuron(), and ~TNeuron().
Double_t TNeuron::fValue [private] |
Definition at line 157 of file TNeuron.h.
Referenced by CalculateActivationValue(), CalculateValue(), ForceValue(), GetValue(), InitNeuron(), and Print().
Double_t TNeuron::fActivationValue [private] |
Definition at line 158 of file TNeuron.h.
Referenced by CalculateActivationValue(), GetActivationValue(), and InitNeuron().
Double_t TNeuron::fDelta [private] |
Definition at line 159 of file TNeuron.h.
Referenced by CalculateDelta(), GetDelta(), and InitNeuron().
Double_t TNeuron::fDEDw [private] |
Double_t TNeuron::fError [private] |
Definition at line 161 of file TNeuron.h.
Referenced by CalculateDelta(), InitNeuron(), and SetError().
Bool_t TNeuron::fForcedValue [private] |
Definition at line 162 of file TNeuron.h.
Referenced by CalculateValue(), ForceValue(), and InitNeuron().
TActivation* TMVA::TNeuron::fActivation [private] |
Definition at line 163 of file TNeuron.h.
Referenced by CalculateActivationValue(), CalculateDelta(), InitNeuron(), PrintActivationEqn(), and SetActivationEqn().
TNeuronInput* TMVA::TNeuron::fInputCalculator [private] |
Definition at line 164 of file TNeuron.h.
Referenced by CalculateValue(), InitNeuron(), and SetInputCalculator().
MsgLogger* TMVA::TNeuron::fgLogger [static, private] |
TObjArray* TMVA::TNeuron::fLinksIn [private] |
TObjArray* TMVA::TNeuron::fLinksOut [private] |
TActivation* TMVA::TNeuron::fActivation [private] |
TNeuronInput* TMVA::TNeuron::fInputCalculator [private] |
MsgLogger* TMVA::TNeuron::fgLogger [static, private] |