The management class of kernel values.
More...
#include <kernelmatrix.h>
The management class of kernel values.
◆ KernelMatrix()
| KernelMatrix::KernelMatrix |
( |
const DataSet::node2d & |
instances, |
|
|
SvmParam |
param |
|
) |
| |
|
explicit |
Create KernelMatrix with given instances (training data or support vectors).
- Parameters
-
| instances | the instances, either are training instances for training, or are support vectors for prediction. |
| param | kernel_type in parm is used |
◆ get_rows() [1/2]
| void KernelMatrix::get_rows |
( |
const SyncArray< int > & |
idx, |
|
|
SyncArray< float_type > & |
kernel_rows |
|
) |
| const |
return specific rows in kernel matrix
- Parameters
-
| [in] | idx | the indices of the rows |
| [out] | kernel_rows | |
◆ get_rows() [2/2]
| void KernelMatrix::get_rows |
( |
const DataSet::node2d & |
instances, |
|
|
SyncArray< float_type > & |
kernel_rows |
|
) |
| const |
return kernel values of each given instance and each instance stored in KernelMatrix
- Parameters
-
| [in] | instances | the given instances |
| [out] | kernel_rows | |
The documentation for this class was generated from the following files: