go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkPreconditionedASGDOptimizer.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __itkPreconditionedASGDOptimizer_h
19 #define __itkPreconditionedASGDOptimizer_h
20 
21 #include "../StandardGradientDescent/itkStandardGradientDescentOptimizer.h"
22 
23 namespace itk
24 {
72 {
73 public:
74 
78  typedef SmartPointer< Self > Pointer;
79  typedef SmartPointer< const Self > ConstPointer;
80 
82  itkNewMacro( Self );
83 
85  itkTypeMacro( PreconditionedASGDOptimizer,
87 
97 
99  itkSetMacro( UseAdaptiveStepSizes, bool );
100  itkGetConstMacro( UseAdaptiveStepSizes, bool );
101 
104  itkSetMacro( SigmoidMax, double );
105  itkGetConstMacro( SigmoidMax, double );
106 
109  itkSetMacro( SigmoidMin, double );
110  itkGetConstMacro( SigmoidMin, double );
111 
114  itkSetMacro( SigmoidScale, double );
115  itkGetConstMacro( SigmoidScale, double );
116 
118  itkGetConstReferenceMacro( PreconditionVector, ParametersType );
119 
120 protected:
121 
124 
132  void UpdateCurrentTime( void ) override;
133 
137  std::string m_StepSizeStrategy;
138 
139 private:
140 
141  PreconditionedASGDOptimizer( const Self & ); // purposely not implemented
142  void operator=( const Self & ); // purposely not implemented
143 
146  double m_SigmoidMax;
147  double m_SigmoidMin;
149 
150 };
151 
152 } // end namespace itk
153 
154 #endif // end #ifndef __itkPreconditionedASGDOptimizer_h
This class implements a gradient descent optimizer with adaptive gain.
Superclass::ScaledCostFunctionPointer ScaledCostFunctionPointer
Superclass::StopConditionType StopConditionType
Superclass::CostFunctionType CostFunctionType
void UpdateCurrentTime(void) override
StandardGradientDescentOptimizer Superclass
Superclass::ScaledCostFunctionType ScaledCostFunctionType
PreconditionedASGDOptimizer(const Self &)
This class implements a gradient descent optimizer with a decaying gain.
Superclass::ScaledCostFunctionType ScaledCostFunctionType
Superclass::ScaledCostFunctionPointer ScaledCostFunctionPointer


Generated on 1641078589 for elastix by doxygen 1.9.1 elastix logo