Click or drag to resize
Accord.NET (logo)

BagOfWordsGetFeatureVector Method

Note: This API is now obsolete.

Gets the codeword representation of a given text.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.6.0
Syntax
[ObsoleteAttribute("Please use Transform() instead.")]
public int[] GetFeatureVector(
	params string[] text
)
Request Example View Source

Parameters

text
Type: SystemString
The text to be processed.

Return Value

Type: Int32
An integer vector with the same length as words in the code book.
See Also