Parameter for the Stochastic gradient descent algorithm
More...
- Aliases
Parameter_DefaultDense
is an alias of Parameter(method=daal.algorithms.optimization_solver.sgd.defaultDense)
Parameter_MiniBatch
is an alias of Parameter(method=daal.algorithms.optimization_solver.sgd.miniBatch)
Parameter_Momentum
is an alias of Parameter(method=daal.algorithms.optimization_solver.sgd.momentum)
def __init__ |
( |
|
self, |
|
|
|
args |
|
) |
| |
- Variant 1
- Parameters
-
function | Objective function represented as sum of functions |
nIterations | Maximal number of iterations of the algorithm |
accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
batchIndices | 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. |
learningRateSequence | Numeric table that contains values of the learning rate sequence |
seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
- Deprecated:
- This item will be removed in a future release. Use engine instead.
- Variant 2
- Parameters
-
function | Objective function represented as sum of functions |
nIterations | Maximal number of iterations of the algorithm |
accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
batchIndices | 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. |
learningRateSequence | Numeric table that contains values of the learning rate sequence |
seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
- Deprecated:
- This item will be removed in a future release. Use engine instead.
- Variant 3
- Parameters
-
function | Objective function represented as sum of functions |
nIterations | Maximal number of iterations of the algorithm |
accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
batchIndices | 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. |
learningRateSequence | Numeric table that contains values of the learning rate sequence |
seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
- Deprecated:
- This item will be removed in a future release. Use engine instead.
- Variant 4
- Parameters
-
function | Objective function represented as sum of functions |
nIterations | Maximal number of iterations of the algorithm |
accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
batchIndices | 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. |
learningRateSequence | Numeric table that contains values of the learning rate sequence |
seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
- Deprecated:
- This item will be removed in a future release. Use engine instead.
- Variant 5
- Parameters
-
function | Objective function represented as sum of functions |
nIterations | Maximal number of iterations of the algorithm |
accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
batchIndices | 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. |
learningRateSequence | Numeric table that contains values of the learning rate sequence |
seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
- Deprecated:
- This item will be removed in a future release. Use engine instead.
- Variant 6
- Parameters
-
function | Objective function represented as sum of functions |
nIterations | Maximal number of iterations of the algorithm |
accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
batchIndices | 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. |
learningRateSequence | Numeric table that contains values of the learning rate sequence |
seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
- Deprecated:
- This item will be removed in a future release. Use engine instead.
Checks the correctness of the parameter
- Returns
- Status of computations
The documentation for this class was generated from the following file: