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

List of all members
Parameter Struct Reference

Parameter for the Sum of functions More...

Class Declaration

struct DAAL_EXPORT Parameter : public objective_function::Parameter
{
data_management::NumericTablePtr batchIndices = data_management::NumericTablePtr(),
const DAAL_UINT64 resultsToCompute = objective_function::gradient);
Parameter(const Parameter &other);
virtual services::Status check() const;
virtual ~Parameter() {}
size_t numberOfTerms;
data_management::NumericTablePtr batchIndices;
size_t featureId;
};

Constructor & Destructor Documentation

Parameter ( size_t  numberOfTerms,
data_management::NumericTablePtr  batchIndices = data_management::NumericTablePtr(),
const DAAL_UINT64  resultsToCompute = objective_function::gradient 
)

Constructs the parameter of Sum of functions

Parameters
[in]numberOfTermsThe number of terms in the function
[in]batchIndicesNumeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations.
[in]resultsToCompute64 bit integer flag that indicates the results to compute
Parameter ( const Parameter other)

Constructs an Parameter by copying input objects and parameters of another Parameter

Parameters
[in]otherAn object to be used as the source to initialize object

Member Function Documentation

virtual services::Status check ( ) const
virtual

Checks the correctness of the parameter

Returns
Status of computations

Member Data Documentation

data_management::NumericTablePtr batchIndices

Numeric table of size 1 x m where m is batch size that represent a batch of indices used to compute the function results, e.g., value of the sum of the functions. If no indices are provided, all terms will be used in the computations.

size_t featureId

The feature index to compute part of gradient/hessian/proximal projection

size_t numberOfTerms

The number of terms in the function


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

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