|
BagOfWordsTransform Method (String, 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(
string[][] input,
Sparse<double>[] result
)
Public Function Transform (
input As String()(),
result As Sparse(Of Double)()
) As Sparse(Of Double)()
Request Example
View SourceParameters
- input
- Type: SystemString
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:
SparseDoubleThe output generated by applying this
transformation to the given input.
Implements
ITransformTInput, TOutputTransform(TInput, TOutput)See Also