Click or drag to resize
Accord.NET (logo)

CodificationTranslate Method (DataRow, String)

Note: This API is now obsolete.

Translates an array of values into their integer representation, assuming values are given in original order of columns.

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


Type: System.DataDataRow
A DataRow containing the values to be translated.
Type: SystemString
The columns of the row containing the values to be translated.

Return Value

Type: Int32
An array of integers in which each value uniquely identifies the given value for each of the variables.
See Also