View source: R/mlbench-class.R
mlbench.smiley | R Documentation |
The smiley consists of 2 Gaussian eyes, a trapezoid nose and a parabula mouth (with vertical Gaussian noise).
mlbench.smiley(n=500, sd1 = 0.1, sd2 = 0.05)
n |
number of patterns to create |
sd1 |
standard deviation for eyes |
sd2 |
standard deviation for mouth |
Returns an object of class "mlbench.smiley"
with components
x |
input values |
classes |
factor vector of length |
p<-mlbench.smiley()
plot(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.