Description Usage Arguments Value Examples
Simulate from the 'Friedman #1' regression problem.
1 | SimFriedman1(N, nFeatures, sigma, seed = NULL)
|
N |
Number of data points to simulate. Positive integer. |
nFeatures |
Number of features, must be at least 5. Positive ingter. |
sigma |
Noise level for Gaussian noise. Must be postive. |
seed |
seed for RNG (default = NULL). |
list(x = x, y = y)
1 2 3 4 | N = 100
nFeatures = 10
sigma = 0.1
SimFriedman1(N, nFeatures, sigma)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.