Base parameter of the Sum of functions algorithm.
More...
◆ BaseParameter() [1/2]
Constructs the parameter for SGD algorithm
- Parameters
-
context | Context to manage the parameter for SGD algorithm |
◆ BaseParameter() [2/2]
Constructs the parameter for SGD algorithm
- Parameters
-
context | Context to manage the SGD algorithm |
cObject | Pointer to C++ implementation of the parameter |
◆ getBatchIndices()
Gets the numeric table that represents 32 bit integer indices of terms in the objective function. If no indices are provided, the implementation will generate random indices.
- Returns
- The numeric table that represents 32 bit integer indices of terms in the objective function. If no indices are provided, the implementation will generate random indices.
◆ getLearningRateSequence()
Gets the numeric table that contains values of the learning rate sequence
- Returns
- The numeric table that contains values of the learning rate sequence
◆ getSeed()
- Deprecated:
- This item will be removed in a future release.
Gets the seed for random generation of 32 bit integer indices of terms in the objective function.
- Returns
- The seed for random generation of 32 bit integer indices of terms in the objective function.
◆ setBatchIndices()
The numeric table that represents 32 bit integer indices of terms in the objective function. If no indices are provided, the implementation will generate random indices.
- Parameters
-
batchIndices | The numeric table that represents 32 bit integer indices of terms in the objective function. If no indices are provided, the implementation will generate random indices. |
◆ setEngine()
Sets the engine to be used by the algorithm
- Parameters
-
engine | to be used by the algorithm |
◆ setLearningRateSequence()
void setLearningRateSequence |
( |
NumericTable |
learningRateSequence | ) |
|
Sets the numeric table that contains values of the learning rate sequence
- Parameters
-
learningRateSequence | The numeric table that contains values of the learning rate sequence |
◆ setSeed()
- Deprecated:
- This item will be removed in a future release.
Sets the seed for random generation of 32 bit integer indices of terms in the objective function.
- Parameters
-
seed | The seed for random generation of 32 bit integer indices of terms in the objective function. |
The documentation for this class was generated from the following file:
- optimization_solver/sgd/BaseParameter.java