|
CodificationTTransform Method (DataTable, String, String)
|
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
Syntax public int[][] Transform(
DataTable table,
string[] columnNames,
out string[] newColumnNames
)
Public Function Transform (
table As DataTable,
columnNames As String(),
<OutAttribute> ByRef newColumnNames As String()
) As Integer()()
Request Example
View SourceParameters
- table
- Type: System.DataDataTable
A DataTable containing the values to be translated. - columnNames
- Type: SystemString
The columns of the table containing the
values to be translated. - newColumnNames
- Type: SystemString
The updated column names after the data has been translated.
Return Value
Type:
Int32An array of integers in which each value
uniquely identifies the given value for each of
the variables.
See Also