Model Input Group.Set Encoding Method
Sets the encoding of the specified variable.
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public void SetEncoding(
string key,
Func<IIndex, int, CategoricalEncoding> encoding,
int referenceLevel = -1
)
Parameters
Exceptions
Invalid | key does not correspond to a categorical variable in the group. |