Also called one hot encoding. Every level except the reference level is encoded using a
binary variable.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
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
Numerical Libraries
Supported in: 6.0
Reference