Click or drag to resize

CategoricalVariable Methods

The CategoricalVariable type exposes the following members.

Methods
  NameDescription
Public methodAdd(Double)
Adds a category having the specified code and a default label to the CategoricalVariable.
Public methodAdd(Double, String)
Adds a category having the specified code and label to the CategoricalVariable.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromDoubleMatrix
Converts from DoubleMatrix to CategoricalVariable.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(Double)
Removes the category having the specified code from the CategoricalVariable.
Public methodRemove(String)
Removes the category having the specified label from the CategoricalVariable.
Public methodSetAsReadOnly
Sets the CategoricalVariable as read only.
Public methodStatic memberToDoubleMatrix
Converts from CategoricalVariable to DoubleMatrix.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Public methodTryGet(Double, Category)
Tries to get the category corresponding to a given code.
Public methodTryGet(String, Category)
Tries to get the category corresponding to a given label.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
Top
See Also