Click or drag to resize
Accord.NET (logo)

BagOfWordsTransform Method (String, SparseDouble)

Applies the transformation to an input, producing an associated output.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public Sparse<double> Transform(
	string[] input,
	Sparse<double> result
)
Request Example View Source

Parameters

input
Type: SystemString
The input data to which the transformation should be applied.
result
Type: Accord.MathSparseDouble
The location to where to store the result of this transformation.

Return Value

Type: SparseDouble
The output generated by applying this transformation to the given input.
See Also