Developer Guide for Intel® Data Analytics Acceleration Library 2016 Update 4
The linear kernel 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 |
|
---|---|---|
X |
Pointer to the n x p numeric table that represents the matrix X. This table can be an object of any class derived from NumericTable. |
|
Y |
Pointer to the m x p numeric table that represents the matrix Y. This table can be an object of any class derived from NumericTable. |
The linear kernel function has the following parameters:
Parameter |
Default Value |
Description |
|
---|---|---|---|
algorithmFPType |
double |
The floating-point type that the algorithm uses for intermediate computations. Can be float or double. |
|
method |
defaultDense |
Available computation methods:
|
|
ComputationMode |
matrixMatrix |
Computation mode for the kernel function. Can be:
|
|
rowIndexX |
0 |
Index i of the vector in the set X for the vectorVector computation mode. |
|
rowIndexY |
0 |
Index j of the vector in the set Y for the vectorVector or matrixVector computation mode. |
|
rowIndexResult |
0 |
Row index in the values numeric table to locate the result of the computation for the vectorVector computation mode. | |
k |
1 |
The coefficient k of the linear kernel. |
|
b |
0 |
The coefficient b of the linear kernel. |
The linear kernel function calculates the results 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 |
|
---|---|---|
values |
Pointer to the n x m numeric table with the values of the kernel function. By default, this result is an object of the HomogenNumericTable class, but you can define the result as an object of any class derived from NumericTable except PackedSymmetricMatrix, PackedTriangularMatrix, and CSRNumericTable. |