Computes Stochastic gradient descent in the batch processing mode.
More...
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::optimization_solver::sgd::interface1::Batch< algorithmFPType, method >
- Template Parameters
-
algorithmFPType | Data type to use in intermediate computations for the Stochastic gradient descent algorithm, double or float |
method | Stochastic gradient descent computation method |
- Enumerations
-
- References
-
◆ Batch() [1/2]
Batch |
( |
const sum_of_functions::BatchPtr & |
objectiveFunction = sum_of_functions::BatchPtr() | ) |
|
|
inline |
Constructs the SGD algorithm with the input objective function
- Parameters
-
[in] | objectiveFunction | Objective function that can be represented as a sum of functions |
◆ Batch() [2/2]
Batch |
( |
const Batch< algorithmFPType, method > & |
other | ) |
|
|
inline |
Constructs a Stochastic gradient descent algorithm by copying input objects of another Stochastic gradient descent algorithm
- Parameters
-
[in] | other | An algorithm to be used as the source to initialize the input objects and parameters of the algorithm |
◆ clone()
Returns a pointer to the newly allocated Stochastic gradient descent algorithm with a copy of input objects of this Stochastic gradient descent algorithm
- Returns
- Pointer to the newly allocated algorithm
◆ createResult()
Creates user-allocated memory to store results of the iterative solver algorithm
- Returns
- Status of computations
Implements Batch.
◆ getInput()
Get input objects for the iterative solver algorithm
- Returns
- Input objects for the iterative solver algorithm
Implements Batch.
◆ getMethod()
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the algorithm
- Returns
- Method of the algorithm
Implements AlgorithmIface.
◆ getParameter()
Get parameters of the iterative solver algorithm
- Returns
- Parameters of the iterative solver algorithm
Implements Batch.
◆ input
◆ parameter
The documentation for this class was generated from the following file: