Click or drag to resize
Accord.NET (logo)

BaseBagOfWordsTModel, TInput, TClusteringTransform Method (TInput, Int32)

Applies the transformation to a set of input vectors, producing an associated set of output vectors.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public int[][] Transform(
	TInput[][] input,
	int[][] result
)
Request Example View Source

Parameters

input
Type: TInput
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.

Implements

ITransformTInput, TOutputTransform(TInput, TOutput)
See Also