Click or drag to resize

CategoricalDataSetFromEncodedData Method

Initializes a new instance of the CategoricalDataSet class from previously encoded data.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public static CategoricalDataSet FromEncodedData(
	List<CategoricalVariable> variables,
	DoubleMatrix data
)

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
ExceptionCondition
ArgumentNullExceptionvariables is null.
-or-
data is null.
ArgumentOutOfRangeExceptiondata 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