Click or drag to resize
Accord.NET (logo)

SparseReaderReadSparse Method (Int32)

Reads count samples from the file and returns them as a SparseT sparse vector, together with their associated output values.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public Tuple<Sparse<double>[], double[]> ReadSparse(
	int count
)
Request Example View Source

Parameters

count
Type: SystemInt32
The number of samples to read.

Return Value

Type: TupleSparseDouble, Double
A tuple containing the sparse vectors as the first item and their associated output values as the second item.
See Also