Description Usage Arguments Value Examples
Generate random Fourier features
1 2 |
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. |
A list containing the p-value p
and statistic Sta
1 | random_fourier_features(rnorm(1000),num_f=25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.