Click or drag to resize
Accord.NET (logo)

SparseFormatSave Method (Double, Boolean, Stream, SerializerCompression)

Saves an array of dense samples to a stream.

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

Parameters

samples
Type: SystemDouble
The samples that have been read from the file.
outputs
Type: SystemBoolean
The output labels associated with each sample in samples.
stream
Type: System.IOStream
The stream where the file will be saved.
compression (Optional)
Type: Accord.IOSerializerCompression
The type of compression to use. Default is None.
See Also