powered by
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)
number of patterns to create
standard deviation for eyes
standard deviation for mouth
Returns an object of class "mlbench.smiley" with components
"mlbench.smiley"
input values
factor vector of length n with target classes
n
# NOT RUN { p<-mlbench.smiley() plot(p) # }
Run the code above in your browser using DataLab