ModelTerm.Categorical Method

Returns a categorical term with the specified key, category index, and encoding scheme.

Definition

Namespace: Extreme.DataAnalysis.Models
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static ModelTerm Categorical(
	string key,
	IIndex index,
	CategoricalEncoding encoding = null
)

Parameters

key  String
The key of the categorical column.
index  IIndex
The category index of the column.
encoding  CategoricalEncoding  (Optional)
The encoding that is to be used when creating indicator variables.

Return Value

ModelTerm
A categorical model term.

See Also