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

List of all members
Parameter Struct Reference

Parameter for Mean squared error objective function More...

Class Declaration

struct DAAL_EXPORT Parameter : public sum_of_functions::Parameter
{
Parameter(size_t numberOfTerms,
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() {}
data_management::NumericTablePtr penaltyL1;
data_management::NumericTablePtr penaltyL2;
};
class DAAL_EXPORT Input : public sum_of_functions::Input
{
public:
Input();
Input(const Input& other);
virtual ~Input() {}
void set(InputId id, const data_management::NumericTablePtr &ptr);
data_management::NumericTablePtr get(InputId id) const;
algorithms::OptionalArgumentPtr get(OptionalInputId id) const;
void set(OptionalInputId id, const algorithms::OptionalArgumentPtr &ptr);
data_management::NumericTablePtr get(OptionalDataId id) const;
void set(OptionalDataId id, const data_management::NumericTablePtr &ptr);
services::Status check(const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
};

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 Mean squared error objective function

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

bool interceptFlag

Whether the intercept needs to be computed. Default is true

data_management::NumericTablePtr penaltyL1

L1 regularization coefficients. Default is 0 (not applied)

data_management::NumericTablePtr penaltyL2

L2 regularization coefficients. Default is 0 (not applied)


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

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