Click or drag to resize
Accord.NET (logo)

SparseWriterWrite Method (Double, 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(
	double[] feature,
	double output,
	string comment
)
Request Example View Source

Parameters

feature
Type: SystemDouble
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