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.8.0
[ObsoleteAttribute("Please use Transform() instead.")]
public int[] GetFeatureVector(
	params string[] text
Request Example View Source


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