C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Parameter base class for the Stochastic average gradient descent algorithm More...
DAAL_DEPRECATED Parameter | ( | const sum_of_functions::interface1::BatchPtr & | function, |
size_t | nIterations = 100 , |
||
double | accuracyThreshold = 1.0e-05 , |
||
const data_management::NumericTablePtr | batchIndices = data_management::NumericTablePtr() , |
||
const size_t | batchSize = 128 , |
||
const data_management::NumericTablePtr | learningRateSequence = data_management::NumericTablePtr() , |
||
size_t | seed = 777 |
||
) |
Constructs the parameter base class of the Stochastic average gradient descent algorithm
[in] | function | Objective function represented as sum of functions |
[in] | nIterations | Maximal number of iterations of the algorithm |
[in] | accuracyThreshold | Accuracy of the algorithm. The algorithm terminates when this accuracy is achieved |
[in] | 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. |
[in] | batchSize | Number of batch indices to compute the stochastic gradient. If batchSize is equal to the number of terms in objective function then no random sampling is performed, and all terms are used to calculate the gradient. This parameter is ignored if batchIndices is provided. |
[in] | learningRateSequence | Numeric table that contains value of the learning rate |
[in] | seed | Seed for random generation of 32 bit integer indices of terms in the objective function. |
|
virtual |
data_management::NumericTablePtr 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.
engines::EnginePtr engine |
Engine for random generation of 32 bit integer indices of terms in the objective function.
data_management::NumericTablePtr learningRateSequence |
Numeric table that contains value of the learning rate
size_t seed |
Seed for random generation of 32 bit integer indices of terms in the objective function.
For more complete information about compiler optimizations, see our Optimization Notice.