Click or drag to resize
Accord.NET (logo)

IBagOfWordsT Interface

Common interface for Bag of Words objects.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public interface IBagOfWords<T> : ITransform<T, double[]>, 
	ICovariantTransform<T, double[]>, ITransform, ITransform<T, int[]>, 
	ICovariantTransform<T, int[]>
Request Example View Source

Type Parameters

T
The type of the element to be converted to a fixed-length vector representation.

The IBagOfWordsT type exposes the following members.

Properties
  NameDescription
Public propertyNumberOfInputs
Gets or sets the number of inputs accepted by the model.
(Inherited from ITransform.)
Public propertyNumberOfOutputs
Gets or sets the number of outputs generated by the model.
(Inherited from ITransform.)
Public propertyNumberOfWords
Gets the number of words in this codebook.
Top
Methods
See Also