Click or drag to resize
Accord.NET (logo)

SparseFormatLoad Method (Stream, SparseDouble, Boolean, SerializerCompression)

Loads an array of sparse samples from a stream.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.7.0
Syntax
public static void Load(
	Stream stream,
	out Sparse<double>[] samples,
	out bool[] outputs,
	SerializerCompression compression = SerializerCompression.None
)
Request Example View Source

Parameters

stream
Type: System.IOStream
The stream from where the file will be loaded.
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.
compression (Optional)
Type: Accord.IOSerializerCompression
The type of compression to use. Default is None.
See Also