Returns an encoding where every level is compared to the reference level.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static CategoricalEncoding Simple(
IIndex categoryIndex,
int referenceLevel = -1
)
Public Shared Function Simple (
categoryIndex As IIndex,
Optional referenceLevel As Integer = -1
) As CategoricalEncoding
public:
static CategoricalEncoding^ Simple(
IIndex^ categoryIndex,
int referenceLevel = -1
)
static member Simple :
categoryIndex : IIndex *
?referenceLevel : int
(* Defaults:
let _referenceLevel = defaultArg referenceLevel -1
*)
-> 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