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

List of all members
Parameter Struct Reference

Parameter for Cross-entropy loss objective function More...

Class Declaration

Deprecated:
This item will be removed in a future release.
struct DAAL_EXPORT Parameter : public sum_of_functions::interface1::Parameter
{
DAAL_DEPRECATED Parameter(size_t nClasses, size_t numberOfTerms,
data_management::NumericTablePtr batchIndices = data_management::NumericTablePtr(),
const DAAL_UINT64 resultsToCompute = objective_function::gradient);
DAAL_DEPRECATED Parameter(const Parameter &other);
DAAL_DEPRECATED_VIRTUAL virtual services::Status check() const;
DAAL_DEPRECATED_VIRTUAL virtual ~Parameter() {}
float penaltyL1;
float penaltyL2;
size_t nClasses;
};

Constructor & Destructor Documentation

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

Constructs the parameter of Cross-entropy loss objective function

Parameters
[in]nClassesThe number of different values of dependent variable
[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
DAAL_DEPRECATED 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 DAAL_DEPRECATED_VIRTUAL services::Status check ( ) const
virtual

Checks the correctness of the parameter

Returns
Status of computations

Reimplemented from Parameter.

Member Data Documentation

bool interceptFlag

Whether the intercept needs to be computed. Default is true

size_t nClasses

Number of classes (different values of dependent variable)

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.