The JSON serializable data model of a support vector: the sparse Node array is stored as two separated index/value arrays.
supportNodeVector
01 Syntax
Microsoft.VisualBasic.MachineLearning.SVM.StorageProcedure.supportNodeVector
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| CreateNodes | 1 | Restore the sparse Node array of this support vector. |
| CreateVector | 1 | Create the JSON data model from a sparse Node array. |
03 Properties
04 Members
CreateNodes
Restore the sparse Node array of this support vector.
Returns
A sequence of the Node objects which are produced by zipping the supportNodeVector.index array and the supportNodeVector.value array.
CreateVector(Node())
Create the JSON data model from a sparse Node array.
Parameters
| Name | Type | Description |
|---|---|---|
nodes | Node() | The source support vector. |
Returns
A supportNodeVector object.
index
The index value of each element of the support vector.
Returns
An array of the feature index values.
value
The feature value of each element of the support vector.
Returns
An array of the feature values.