Computes Stochastic gradient descent in the batch processing mode.
More...
|
static services::SharedPtr
< Batch< algorithmFPType,
method > > | create () |
|
template<typename algorithmFPType = DAAL_ALGORITHM_FP_TYPE, Method method = defaultDense>
class daal::algorithms::optimization_solver::sgd::interface2::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 |
( |
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 |
( |
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 |
services::SharedPtr<Batch<algorithmFPType, method> > clone |
( |
| ) |
const |
|
inline |
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
static services::SharedPtr<Batch<algorithmFPType, method> > create |
( |
| ) |
|
|
static |
Creates the instance of the class
- Returns
- New instance of the class
virtual services::Status createResult |
( |
| ) |
|
|
inlinevirtual |
Creates user-allocated memory to store results of the iterative solver algorithm
- Returns
- Status of computations
virtual iterative_solver::Input* getInput |
( |
| ) |
|
|
inlinevirtual |
Get input objects for the iterative solver algorithm
- Returns
- Input objects for the iterative solver algorithm
virtual int getMethod |
( |
| ) |
const |
|
inlinevirtual |
Returns method of the algorithm
- Returns
- Method of the algorithm
virtual iterative_solver::Parameter* getParameter |
( |
| ) |
|
|
inlinevirtual |
Get parameters of the iterative solver algorithm
- Returns
- Parameters of the iterative solver algorithm
The documentation for this class was generated from the following file: