Click or drag to resize
Accord.NET (logo)

SparseReaderReadLine 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
public Tuple<string[], string> ReadLine()
Request Example View Source

Return Value

Type: TupleString, 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