Also called one hot encoding. Every level except the reference level is encoded using a
binary variable.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static CategoricalEncoding Dummy(
IIndex categoryIndex,
int referenceLevel = 0
)
Public Shared Function Dummy (
categoryIndex As IIndex,
Optional referenceLevel As Integer = 0
) As CategoricalEncoding
public:
static CategoricalEncoding^ Dummy(
IIndex^ categoryIndex,
int referenceLevel = 0
)
static member Dummy :
categoryIndex : IIndex *
?referenceLevel : int
(* Defaults:
let _referenceLevel = defaultArg referenceLevel 0
*)
-> CategoricalEncoding
Parameters
- categoryIndex
- Type: Extreme.DataAnalysisIIndex
An index that specifies the levels. - referenceLevel (Optional)
- Type: SystemInt32
The zero-based index of the reference level.
A negative value indicates the level is counted from the end.
Return Value
Type:
CategoricalEncoding
Reference