Vector Extensions.Use Deviation Encoding Method
Specifies that deviance encoding should be used when creating indicator variables.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static void UseDeviationEncoding(
this ICategoricalVector vector,
int referenceLevel = -1
)
Parameters
- vector ICategoricalVector
- The categorical vector to apply the encoding to.
- referenceLevel Int32 (Optional)
- The zero-based index of the reference level. A negative value indicates the level is counted from the end.