The one-class SVM formulation of the kernel matrix.
ONE_CLASS_Q
01 Syntax
Microsoft.VisualBasic.MachineLearning.SVM.ONE_CLASS_Q
02 Methods
03 Members
Create the one-class SVM formulation of the kernel matrix.
Parameters
GetQ(
Int32, Int32)Request a column of the kernel matrix.
Parameters
| Name | Type | Description |
|---|---|---|
i | Int32 | The zero based index of the target row. |
len | Int32 | The number of the elements that will be requested. |
Returns
An array which contains the requested elements of the target column.
GetQD
Gets the diagonal elements of the kernel matrix.
Returns
An array which contains the diagonal elements Q(i, i).
SwapIndex(
Int32, Int32)Swap the position of the two samples in the kernel matrix and the cached diagonal elements.
Parameters
| Name | Type | Description |
|---|---|---|
i | Int32 | The zero based index of the first sample. |
j | Int32 | The zero based index of the second sample. |