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

List of all members
Parameter Struct Reference

Parameter for Logistic loss 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() {}
float penaltyL1;
float penaltyL2;
};

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 Logistic loss 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

float penaltyL1

L1 regularization coefficient. Default is 0 (not applied)

float penaltyL2

L2 regularization coefficient. 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.