C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1
Parameter for Logistic loss objective function More...
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
[in] | numberOfTerms | The number of terms in the function |
[in] | 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. |
[in] | resultsToCompute | 64 bit integer flag that indicates the results to compute |
|
virtual |
Checks the correctness of the parameter
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)
For more complete information about compiler optimizations, see our Optimization Notice.