ModelTermCollection.AddVariable Method

Adds a categorical term to the collection.

Definition

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

Parameters

key  String
index  IIndex
The category index of the variable.
encoding  CategoricalEncoding  (Optional)
The encoding to use.

Return Value

ModelTermCollection

See Also