Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mlbench.smiley

The Smiley


Description

The smiley consists of 2 Gaussian eyes, a trapezoid nose and a parabula mouth (with vertical Gaussian noise).

Usage

mlbench.smiley(n=500, sd1 = 0.1, sd2 = 0.05)

Arguments

n

number of patterns to create

sd1

standard deviation for eyes

sd2

standard deviation for mouth

Value

Returns an object of class "mlbench.smiley" with components

x

input values

classes

factor vector of length n with target classes

Examples

p<-mlbench.smiley()
plot(p)

mlbench

Machine Learning Benchmark Problems

v2.1-3
GPL-2
Authors
Friedrich Leisch and Evgenia Dimitriadou.
Initial release
2021-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.