Click or drag to resize
Accord.NET (logo)

CodificationTransform Method (String)

Transforms a matrix of key-value pairs (where the first column denotes a key, and the second column a value) into their integer vector representation.

Namespace:  Accord.Statistics.Filters
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public int[] Transform(
	string[,] values
)
Request Example View Source

Parameters

values
Type: SystemString
A 2D matrix with two columns, where the first column contains the keys (i.e. "Date") and the second column the values (i.e. "14/05/1988").

Return Value

Type: Int32
A vector of integers where each element contains the translation of each respective row in the given values matrix.
See Also