Click or drag to resize
Accord.NET (logo)

SparseWriterWrite Method (SparseDouble, Double, String)

Writes the given feature vector and associated output label/value to the file.

Namespace:  Accord.IO
Assembly:  Accord.IO (in Accord.IO.dll) Version: 3.8.0
Syntax
public void Write(
	Sparse<double> feature,
	double output,
	string comment
)
Request Example View Source

Parameters

feature
Type: Accord.MathSparseDouble
The feature vector to be written.
output
Type: SystemDouble
The output value to be written.
comment
Type: SystemString
An optional comment describing the feature.
See Also