\name{mlbench.peak}
\alias{mlbench.peak}
\title{Peak Benchmark Problem}
\usage{
mlbench.peak(n, d=20)
}
\arguments{
    \item{n}{number of patterns to create}
    \item{d}{dimension of the problem}
}
\description{
    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.
}
\value{Returns a list with components
\item{x}{input values (independent variables)}
\item{y}{output values (dependent variable)}
}

\keyword{datagen}
