random_fourier_features: Generate random Fourier features

Description Usage Arguments Value Examples

Description

Generate random Fourier features

Usage

1
2
random_fourier_features(x, w = NULL, b = NULL, num_f = NULL,
  sigma = NULL, seed = NULL)

Arguments

x

Random variable x.

w

Random coefficients.

b

Random offsets.

num_f

Number of random Fourier features.

sigma

Smooth parameter of RBF kernel.

seed

The seed for controlling random number generation. Use if you want to replicate results exactly. Default is NULL.

Value

A list containing the p-value p and statistic Sta

Examples

1

ericstrobl/RCIT documentation built on June 5, 2019, 9:07 a.m.