Class encapsulating a precomputed kernel, where each position indicates the similarity score for two items in the training data.
PrecomputedKernel
01 Syntax
Microsoft.VisualBasic.MachineLearning.SVM.PrecomputedKernel
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 3 | Constructor. |
03 Members
#ctor(
Single[0:,0:])Constructor.
Parameters
| Name | Type | Description |
|---|---|---|
similarities | Single[0:,0:] | The similarity scores between all items in the training data |
#ctor(
List(Of Node()), Parameter)Constructor.
Parameters
| Name | Type | Description |
|---|---|---|
nodes | List(Of Node()) | Nodes for self-similarity analysis |
param | Parameter | Parameters to use when computing similarities |
Constructor.
Parameters
| Name | Type | Description |
|---|---|---|
rows | List(Of Node()) | Nodes to use as the rows of the matrix |
columns | List(Of Node()) | Nodes to use as the columns of the matrix |
param | Parameter | Parameters to use when compute similarities |