Click or drag to resize
Accord.NET (logo)

CodificationTranslate Method (String, String)

Note: This API is now obsolete.

Translates a value of a given variable into its integer (codeword) representation.

Namespace:  Accord.Statistics.Filters
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
[ObsoleteAttribute("Please use Transform(columnName, value) instead.")]
public int Translate(
	string columnName,
	string value
Request Example View Source


Type: SystemString
The name of the variable's data column.
Type: SystemString
The value to be translated.

Return Value

Type: Int32
An integer which uniquely identifies the given value for the given variable.
See Also