Click or drag to resize
Accord.NET (logo)

SparseReader. ReadToEnd Method (Sparse< Double> [] ,Double[] )

Reads all samples from the file and returns them as a Sparse< T> sparse vector, together with their associated output values.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public void ReadToEnd(
	out Sparse<double>[] samples,
	out double[] outputs
)
Request Example View Source

Parameters

samples
Type:Accord.Math.Sparse<Double>[]
The samples that have been read from the file.
outputs
Type:System.Double[]
The output labels associated with each sample in samples.
See Also