|
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.8.0
Syntax public static void Load(
Stream stream,
out Sparse<double>[] samples,
out bool[] outputs,
SerializerCompression compression = SerializerCompression.None
)
Public Shared Sub Load (
stream As Stream,
<OutAttribute> ByRef samples As Sparse(Of Double)(),
<OutAttribute> ByRef outputs As Boolean(),
Optional compression As SerializerCompression = SerializerCompression.None
)
Request Example
View SourceParameters
- 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