Random Fourier Features TransformΒΆ

The documentation is generated based on the sources available at dotnet/machinelearning and released under MIT License.

Type: datatransform Aliases: RffTransform, Rff Namespace: Microsoft.ML.Runtime.Data Assembly: Microsoft.ML.Transforms.dll Microsoft Documentation: Random Fourier Features Transform

Description

This transform maps numeric vectors to a random low-dimensional feature space. It is useful when data has non-linear features, since the transform is designed so that the inner products of the transformed data are approximately equal to those in the feature space of a user specified shift-invariant kernel.

Parameters

Name Short name Default Description
column col   New column definition(s) (optional form: name:src)
matrixGenerator kernel GaussianFourierSampler.Arguments Which kernel to use?
newDim dim 1000 The number of random Fourier features to create
seed     The seed of the random number generator for generating the new features (if unspecified, the global random is used)
useSin   False Create two features for every random Fourier frequency? (one for cos and one for sin)