CategoricalEncoding.BackwardDifference Method

Definition

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

Overload List

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

CategoricalEncoding.BackwardDifference(IIndex)

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

Parameters

categoryIndex  IIndex
An index that specifies the levels.

Return Value

CategoricalEncoding

CategoricalEncoding.BackwardDifference(IIndex, Int32)

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

Parameters

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

Return Value

CategoricalEncoding

See Also