Specifies that dummy encoding (also called treatment encoding) should be used when creating indicator variables.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static void UseDummyEncoding(
this ICategoricalVector vector,
int referenceLevel = 0
)
<ExtensionAttribute>
Public Shared Sub UseDummyEncoding (
vector As ICategoricalVector,
Optional referenceLevel As Integer = 0
)
public:
[ExtensionAttribute]
static void UseDummyEncoding(
ICategoricalVector^ vector,
int referenceLevel = 0
)
[<ExtensionAttribute>]
static member UseDummyEncoding :
vector : ICategoricalVector *
?referenceLevel : int
(* Defaults:
let _referenceLevel = defaultArg referenceLevel 0
*)
-> unit
Parameters
- vector
- Type: Extreme.MathematicsICategoricalVector
The categorical vector to apply the encoding to. - referenceLevel (Optional)
- Type: SystemInt32
The zero-based index of the reference level.
A negative value indicates the level is counted from the end.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICategoricalVector. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Reference