Click or drag to resize
Accord.NET (logo)

BagOfWordsTransform Method (String, Int32)

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 int[] Transform(
	string[] input,
	int[] result
)
Request Example View Source

Parameters

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

Return Value

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