Click or drag to resize
Accord.NET (logo)

BaseBagOfWordsTModel, TInput, TClusteringTransform Method (TInput, SparseDouble)

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

Parameters

input
Type: TInput
The input data to which the transformation should be applied.
result
Type: Accord.MathSparseDouble
The location to where to store the result of this transformation.

Return Value

Type: SparseDouble
The output generated by applying this transformation to the given input.

Implements

ITransformTInput, TOutputTransform(TInput, TOutput)
See Also