Developer Guide for Intel® Data Analytics Acceleration Library 2019 Update 1
The objective function accepts the input described below. Pass the Input ID as a parameter to the methods that provide input for your algorithm. For more details, see Algorithms.
Input ID |
Input |
|
---|---|---|
argument |
Numeric table of size p x 1with the input argument of the objective function. |
The objective function has the following parameters:
Parameter |
Default Value |
Description |
|||||||
---|---|---|---|---|---|---|---|---|---|
resultsToCompute |
gradient |
The 64-bit integer flag that specifies which characteristics of the objective function to compute. Provide one of the following values to request a single characteristic or use bitwise OR to request a combination of the characteristics:
|
The objective function calculates the result described below. Pass the Result ID as a parameter to the methods that access the results of your algorithm. For more details, see Algorithms.
Result ID |
Result |
|
---|---|---|
gradientIdx |
Numeric table of size p x 1 with the gradient of the objective function in the given argument. |
|
valueIdx |
Numeric table of size 1 x 1 with the value of the objective function in the given argument. |
|
hessianIdx |
Numeric table of size p x p with the Hessian of the objective function in the given argument. |
If the function result is not requested through the resultsToCompute parameter, the respective element of the result contains a NULL pointer.
By default, each numeric table specified by the collection elements is an object of the HomogenNumericTable class, but you can define the result as an object of any class derived from NumericTable, except for PackedSymmetricMatrix, PackedTriangularMatrix, and CSRNumericTable.