Click or drag to resize
Accord.NET (logo)

SparseReader. ReadLine Method

Reads one line from the feature file, returning the array of values for the sparse vector and its corresponding label.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public Tuple<string[], string> ReadLine()
Request Example View Source

Return Value

Type: Tuple<String[], String>
A tuple containing the array of values in the format "index:value" as the first item and their corresponding label as the second item.
See Also