Sets the encoding of the specified variable.
Namespace:
Extreme.DataAnalysis.Models
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public void SetEncoding(
string key,
Func<IIndex, int, CategoricalEncoding> encoding,
int referenceLevel = -1
)
Public Sub SetEncoding (
key As String,
encoding As Func(Of IIndex, Integer, CategoricalEncoding),
Optional referenceLevel As Integer = -1
)
public:
void SetEncoding(
String^ key,
Func<IIndex^, int, CategoricalEncoding^>^ encoding,
int referenceLevel = -1
)
member SetEncoding :
key : string *
encoding : Func<IIndex, int, CategoricalEncoding> *
?referenceLevel : int
(* Defaults:
let _referenceLevel = defaultArg referenceLevel -1
*)
-> unit
Parameters
- key
- Type: SystemString
The key of the variable. - encoding
- Type: SystemFuncIIndex, Int32, CategoricalEncoding
A function that generates the encoding. - referenceLevel (Optional)
- Type: SystemInt32
Optional. The zero-based index
of the reference level of the encoding.
Reference