CLineSearchGradientFunctionUpdater Class Reference
#include
<csupervisedlearner.h>
Inheritance diagram for CLineSearchGradientFunctionUpdater:
List
of all members.
|
Public Member Functions
|
|
|
CLineSearchGradientFunctionUpdater
(CGradientCalculator
*gradientCalculator,
CGradientUpdateFunction
*updateFunction,
int maxSteps)
|
|
virtual
|
~CLineSearchGradientFunctionUpdater
()
|
|
virtual void
|
updateWeights
(CFeatureList
*gradient)
|
|
virtual double
|
updateWeights
(CFeatureList
*gradient, double fold, double &lmin)
|
Protected Member Functions
|
|
void
|
setWorkingParamters
(CFeatureList
*gradient, double stepSize, double *startParameters,
double *workParameters)
|
|
virtual double
|
getFunctionValue
(double *startParameters,
CFeatureList
*gradient, double stepSize)
|
|
void
|
bracketMinimum
(double *startParameters,
CFeatureList
*gradient, double fa, double &a, double &b, double
&c)
|
Protected Attributes
|
|
double *
|
startParameters |
|
double *
|
workParameters |
|
int
|
maxSteps |
|
CGradientCalculator
*
|
gradientCalculator |
|
double
|
precision_treshold |
Constructor & Destructor Documentation
| virtual
CLineSearchGradientFunctionUpdater::~CLineSearchGradientFunctionUpdater
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| void
CLineSearchGradientFunctionUpdater::bracketMinimum
|
( |
double * |
startParameters,
|
|
|
CFeatureList *
|
gradient,
|
|
|
double |
fa,
|
|
|
double & |
a,
|
|
|
double & |
b,
|
|
|
double & |
c |
|
) |
[protected] |
|
| virtual double
CLineSearchGradientFunctionUpdater::getFunctionValue
|
( |
double * |
startParameters,
|
|
|
CFeatureList *
|
gradient,
|
|
|
double |
stepSize |
|
) |
[protected,
virtual] |
|
| void
CLineSearchGradientFunctionUpdater::setWorkingParamters
|
( |
CFeatureList *
|
gradient,
|
|
|
double |
stepSize,
|
|
|
double * |
startParameters,
|
|
|
double * |
workParameters |
|
) |
[protected] |
|
| virtual double
CLineSearchGradientFunctionUpdater::updateWeights
|
( |
CFeatureList *
|
gradient,
|
|
|
double |
fold,
|
|
|
double & |
lmin |
|
) |
[virtual] |
|
| virtual void
CLineSearchGradientFunctionUpdater::updateWeights
|
( |
CFeatureList *
|
gradient |
) |
[virtual] |
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|