| CategoricalVariable Conversion (CategoricalVariable to DoubleMatrix) |
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public static explicit operator DoubleMatrix (
CategoricalVariable value
)
Public Shared Narrowing Operator CType (
value As CategoricalVariable
) As DoubleMatrix
static explicit operator DoubleMatrix^ (
CategoricalVariable^ value
)
F# does not support the declaration of new casting operators.
Parameters
- value
- Type: Novacta.AnalyticsCategoricalVariable
The object to convert.
Return Value
Type:
DoubleMatrixThe converted object.
Exceptions Remarks
The variable is converted to a column vector whose number
of rows equals the number of
categories in the variable. Each row corresponds to a category,
whose label is the row name,
while the category code is the matrix entry in the row.
The name of the matrix is set equal to the variable name.
See Also