Encapsulates a problem, or set of vectors which must be classified.
Problem
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| .ctor | 2 | Empty Constructor. |
| ToString | 1 | Display the brief summary information of this problem. |
| Equals | 1 | Compares this problem with another object. |
| GetHashCode | 1 | Gets the hash code of this problem, which is combined by the hash code of the sample matrix and the label vector. |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| count | 1 | Number of vectors. |
| Y | 1 | Class labels. |
| X | 1 | Vector data. |
| maxIndex | 1 | Maximum index for a vector. |
| dimensionNames | 1 | the width of each row in Problem.X |
04 Members
Constructor.
| Name | Type | Description |
|---|---|---|
y | String() | The class labels |
x | Node()() | Vector data. |
maxIndex | Int32 | Maximum index for a vector |
Empty Constructor.
Nothing is initialized.
Display the brief summary information of this problem.
A string in format like dim [...], N labels = [...].
Object)Compares this problem with another object.
| Name | Type | Description |
|---|---|---|
obj | Object | The object that will be compared with this problem. |
True when the obj is a Problem object which has the same sample data and the same label data, otherwise False.
Gets the hash code of this problem, which is combined by the hash code of the sample matrix and the label vector.
An Int32 hash code value.
Number of vectors.
Class labels.
Vector data.
Maximum index for a vector. this value is the width of each row in Problem.X and equals to the length of vector Problem.dimensionNames
the width of each row in Problem.X
An array of the feature dimension names.