Categorical Encoding.Backward 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
Backward | Returns an encoding where every level is compared to the prior level. |
Backward | Returns an encoding where every level is compared to the prior level. |
BackwardDifference(IIndex)
Returns an encoding where every level is compared to the prior level.
public static CategoricalEncoding BackwardDifference(
IIndex categoryIndex
)
Parameters
- categoryIndex IIndex
- An index that specifies the levels.
Return Value
CategoricalEncodingBackwardDifference(IIndex, Int32)
Returns an encoding where every level is compared to the prior level.
public static CategoricalEncoding BackwardDifference(
IIndex categoryIndex,
int referenceLevel = -1
)