Click or drag to resize
Accord.NET (logo)

SparseReaderRead Method (Int32, SparseDouble, Boolean)

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.7.0
Syntax
public void Read(
	int count,
	out Sparse<double>[] samples,
	out bool[] outputs
)
Request Example View Source

Parameters

count
Type: SystemInt32
The number of samples to read.
samples
Type: Accord.MathSparseDouble
The samples that have been read from the file.
outputs
Type: SystemBoolean
The output labels associated with each sample in samples.
See Also