Click or drag to resize
Accord.NET (logo)

SparseFormatLoad Method (String, SparseDouble, Boolean, SerializerCompression)

Loads an array of sparse samples from a file in the disk.

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

Parameters

path
Type: SystemString
The path to the file containing the samples to 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