LCFIVertex  0.7.2
Public Types | Public Member Functions | Protected Member Functions | List of all members
nnet::BackPropagationCGAlgorithm Class Reference

Public Types

enum  BetaFunctionSelect { FletcherReves, PolakRibiere, ConjugateDescent }
 

Public Member Functions

 BackPropagationCGAlgorithm (NeuralNet &theNetwork)
 
double train (const int numberOfEpochs, const NeuralNetDataSet &dataSet, const NeuralNet::InputNormalisationSelect normaliseTrainingData=NeuralNet::PassthroughNormalised)
 
double train (const int numberOfEpochs, const NeuralNetDataSet &dataSet, const std::vector< InputNormaliser * > &inputNormalisers)
 
void setBetaFunction (BetaFunctionSelect theFunction)
 
void setLinearSearchInitialStepLength (const double stepLength)
 
void setLinearSearchMu (const double mu)
 
void setLinearSearchSigma (const double sigma)
 
void setLinearSearchGamma (const double gamma)
 
void setLinearSearchMaxIterations (const int maxIterations)
 
void setLinearSearchAbsGradientCutoff (const double cutoff)
 
void setEpochsBeforeGradientReset (const int numberOfEpochs)
 
void setProgressPrintoutFrequency (const int frequency)
 
std::vector< double > getTrainingErrorValuesPerEpoch () const
 

Protected Member Functions

double trainWithDataSet (const int numberOfEpochs)
 
std::vector< double > layerOutput (const int layer) const
 
void calculateLayerOutputs ()
 
void calculateDerivativeOutputs ()
 
void calculateErrorSignals ()
 
void calculateDeDw ()
 
void calculateRunningDeDw ()
 
double error ()
 
double newEpoch (bool &success, double &gradient)
 
double processDataSet ()
 
double beta (const std::vector< double > &gk, const std::vector< double > &gkplus1, const std::vector< double > &dk)
 
double betaFR (const std::vector< double > &gk, const std::vector< double > &gkplus1)
 
double betaPR (const std::vector< double > &gk, const std::vector< double > &gkplus1)
 
double betaCD (const std::vector< double > &gk, const std::vector< double > &gkplus1, const std::vector< double > &dk)
 
double alpha (const std::vector< double > &x, const std::vector< double > &p, const std::vector< double > &g, const double F0, bool &converged)
 

Detailed Description

Definition at line 25 of file BackPropagationCGAlgorithm.h.


The documentation for this class was generated from the following file: