\HeaderA{mlbench.cassini}{Cassini: A 2 Dimensional Problem}{mlbench.cassini}
\keyword{datagen}{mlbench.cassini}
\begin{Description}\relax
The inputs of the cassini problem are uniformly distributed on
a \code{2}-dimensional space within 3 structures. The 2 external
structures (classes) are banana-shaped structures and in between them, the
middle structure (class) is a circle.
\end{Description}
\begin{Usage}
\begin{verbatim}
mlbench.cassini(n, relsize=c(2,2,1))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] number of patterns to create
\item[\code{relsize}] relative size of the classes (vector of length 3)
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns an object of class \code{"mlbench.cassini"}  with components
\begin{ldescription}
\item[\code{x}] input values
\item[\code{classes}] vector of length \code{n} with target classes
\end{ldescription}
\end{Value}
\begin{Author}\relax
Evgenia Dimitriadou and Andreas Weingessel
\end{Author}
\begin{Examples}
\begin{ExampleCode}
p <- mlbench.cassini(5000)
plot(p)
\end{ExampleCode}
\end{Examples}

