CategoricalVariable Methods |
The CategoricalVariable type exposes the following members.
Name | Description | |
---|---|---|
Add(Double) |
Adds a category having the specified code and a default
label to
the CategoricalVariable.
| |
Add(Double, String) |
Adds a category having the specified code and label to
the CategoricalVariable.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromDoubleMatrix |
Converts
from DoubleMatrix to
CategoricalVariable.
| |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(Double) |
Removes the category having the specified code from
the CategoricalVariable.
| |
Remove(String) |
Removes the category having the specified label from
the CategoricalVariable.
| |
SetAsReadOnly |
Sets the CategoricalVariable as read only.
| |
ToDoubleMatrix |
Converts from CategoricalVariable to DoubleMatrix.
| |
ToString |
Returns a String that
represents this instance.
(Overrides ObjectToString.) | |
TryGet(Double, Category) |
Tries to get the category corresponding to a given code.
| |
TryGet(String, Category) |
Tries to get the category corresponding to a given label.
|
Name | Description | |
---|---|---|
IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. |