Click or drag to resize
Accord.NET (logo)

SparseParse Method (String, NullableDouble)

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static Sparse<double> Parse(
	string[] values,
	Nullable<double> insertValueAtBeginning = null
)
Request Example View Source

Parameters

values
Type: SystemString
An array of "index:value" strings indicating where each value belongs in the sparse vector.
insertValueAtBeginning (Optional)
Type: SystemNullableDouble
Whether an intercept term should be added at the beginning of the vector.

Return Value

Type: SparseDouble
See Also