Categorical Encoding.Forward Difference Method
Definition
Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Forward | Returns an encoding where every level is compared to the next level. |
Forward | Returns an encoding where every level is compared to the next level. |
ForwardDifference(IIndex)
Returns an encoding where every level is compared to the next level.
public static CategoricalEncoding ForwardDifference(
IIndex categoryIndex
)
Parameters
- categoryIndex IIndex
- An index that specifies the levels.
Return Value
CategoricalEncodingForwardDifference(IIndex, Int32)
Returns an encoding where every level is compared to the next level.
public static CategoricalEncoding ForwardDifference(
IIndex categoryIndex,
int referenceLevel = -1
)