C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

List of all members

Parameter base class for the Coordinate descent algorithm More...

Class Declaration

struct DAAL_EXPORT Parameter : public optimization_solver::iterative_solver::Parameter
{
const sum_of_functions::BatchPtr &function,
size_t nIterations = 100,
double accuracyThreshold = 1.0e-05,
size_t seed = 777
);
virtual ~Parameter(){}
virtual services::Status check() const DAAL_C11_OVERRIDE;
size_t seed;
engines::EnginePtr engine;
SelectionStrategy selection;
bool positive;
bool skipTheFirstComponents;
};

Constructor & Destructor Documentation

Parameter ( const sum_of_functions::BatchPtr &  function,
size_t  nIterations = 100,
double  accuracyThreshold = 1.0e-05,
size_t  seed = 777 
)

Constructs the parameter base class of the Coordinate descent algorithm

Parameters
[in]functionObjective function represented as sum of functions
[in]nIterationsMaximal number of iterations of the algorithm
[in]accuracyThresholdAccuracy of the algorithm. The algorithm terminates when this accuracy is achieved If no indices are provided, the implementation will generate random indices.
[in]seedSeed 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.

Member Function Documentation

virtual services::Status check ( ) const
virtual

Checks the correctness of the parameter

Returns
Status of computations

Member Data Documentation

engines::EnginePtr engine

Engine for random generation of 32 bit integer indices of terms in the objective function.

size_t 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.

The documentation for this struct was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.