C++ API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

List of all members

Parameter for the Sum of functions More...

Class Declaration

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

Constructor & Destructor Documentation

◆ Parameter() [1/2]

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() [2/2]

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

◆ check()

virtual services::Status check ( ) const
virtual

Checks the correctness of the parameter

Returns
Status of computations

Reimplemented from Parameter.

Reimplemented in Parameter.

Member Data Documentation

◆ batchIndices

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.

◆ numberOfTerms

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.