| CategoricalDataSetFromEncodedData Method |
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public static CategoricalDataSet FromEncodedData(
List<CategoricalVariable> variables,
DoubleMatrix data
)
Public Shared Function FromEncodedData (
variables As List(Of CategoricalVariable),
data As DoubleMatrix
) As CategoricalDataSet
public:
static CategoricalDataSet^ FromEncodedData(
List<CategoricalVariable^>^ variables,
DoubleMatrix^ data
)
static member FromEncodedData :
variables : List<CategoricalVariable> *
data : DoubleMatrix -> CategoricalDataSet
Parameters
- variables
- Type: System.Collections.GenericListCategoricalVariable
The variables stored in the new dataset. - data
- Type: Novacta.AnalyticsDoubleMatrix
The data stored in the new dataset.
Return Value
Type:
CategoricalDataSet
The categorical data set containing the specified
encoded data.
Exceptions Exception | Condition |
---|
ArgumentNullException | variables is null.
-or- data is null.
|
ArgumentOutOfRangeException | data has a number of columns other than the
count of variables.
-or-
An entry exists in a column of data not
equal to any code in
the variable corresponding to such column.
|
Remarks
The constructor set every variable in variables
as read only.
See Also