Model Term Collection.Add Variable 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#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.