Encapsulates a node in a Problem vector, with an index and a value (for more efficient representation of sparse data.
Node
01 Syntax
Microsoft.VisualBasic.MachineLearning.SVM.Node
02 Methods
03 Properties
04 Members
#ctor
Default Constructor.
#ctor(
Int32, Double)Constructor.
Parameters
| Name | Type | Description |
|---|---|---|
index | Int32 | The index of the value. |
value | Double | The value to store. |
ToString
String representation of this Node as {index}:{value}.
Returns
{index}:{value}
CompareTo(Node)
Compares this node with another.
Parameters
| Name | Type | Description |
|---|---|---|
other | Node | The node to compare to |
Returns
A positive number if this node is greater, a negative number if it is less than, or 0 if equal
index
Index of this Node.
value
Value at Index.
Equals(
Object)GetHashCode()
Copy(
IEnumerable(Of Node))