|
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
)
Public Shared Sub Load (
path As String,
<OutAttribute> ByRef samples As Sparse(Of Double)(),
<OutAttribute> ByRef outputs As Boolean(),
Optional compression As SerializerCompression = SerializerCompression.None
)
Request Example
View SourceParameters
- 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