\HeaderA{mlbench.peak}{Peak Benchmark Problem}{mlbench.peak}
\keyword{datagen}{mlbench.peak}
\begin{Description}\relax
Let \eqn{r=3u}{} where u is uniform on
[0,1]. Take x to be uniformly distributed on the d-dimensional
sphere of radius r. Let \eqn{y=25exp(-.5r^2)}{}. This data set is not a
classification problem but a regression problem where y is the
dependent variable.
\end{Description}
\begin{Usage}
\begin{verbatim}
mlbench.peak(n, d=20)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] number of patterns to create
\item[\code{d}] dimension of the problem
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns a list with components
\begin{ldescription}
\item[\code{x}] input values (independent variables)
\item[\code{y}] output values (dependent variable)
\end{ldescription}
\end{Value}

