View source: R/mlbench-regression.R
mlbench.peak | R Documentation |
Let r=3u
where u is uniform on
[0,1]. Take x to be uniformly distributed on the d-dimensional
sphere of radius r. Let y=25exp(-.5r^2)
. This data set is not a
classification problem but a regression problem where y is the
dependent variable.
mlbench.peak(n, d=20)
n |
number of patterns to create |
d |
dimension of the problem |
Returns a list with components
x |
input values (independent variables) |
y |
output values (dependent variable) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.