CategoricalEncoding.ForwardDifference Method

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

ForwardDifference(IIndex) Returns an encoding where every level is compared to the next level.
ForwardDifference(IIndex, Int32) Returns an encoding where every level is compared to the next level.

CategoricalEncoding.ForwardDifference(IIndex)

Returns an encoding where every level is compared to the next level.
C#
public static CategoricalEncoding ForwardDifference(
	IIndex categoryIndex
)

Parameters

categoryIndex  IIndex
An index that specifies the levels.

Return Value

CategoricalEncoding

CategoricalEncoding.ForwardDifference(IIndex, Int32)

Returns an encoding where every level is compared to the next level.
C#
public static CategoricalEncoding ForwardDifference(
	IIndex categoryIndex,
	int referenceLevel = -1
)

Parameters

categoryIndex  IIndex
An index that specifies the levels.
referenceLevel  Int32  (Optional)
Not used.

Return Value

CategoricalEncoding

See Also