\HeaderA{mlbench.smiley}{The Smiley}{mlbench.smiley}
\keyword{datagen}{mlbench.smiley}
\begin{Description}\relax
The smiley consists of 2 Gaussian eyes, a trapezoid nose and a
parabula mouth (with vertical Gaussian noise).
\end{Description}
\begin{Usage}
\begin{verbatim}
mlbench.smiley(n=500, sd1 = 0.1, sd2 = 0.05)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] number of patterns to create
\item[\code{sd1}] standard deviation for eyes
\item[\code{sd2}] standard deviation for mouth
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns an object of class \code{"mlbench.smiley"}  with components
\begin{ldescription}
\item[\code{x}] input values
\item[\code{classes}] factor vector of length \code{n} with target classes
\end{ldescription}
\end{Value}
\begin{Examples}
\begin{ExampleCode}
p<-mlbench.smiley()
plot(p)
\end{ExampleCode}
\end{Examples}

