# mlbench.twonorm

From mlbench v0.5-1
by Friedrich Leisch

##### Twonorm Benchmark Problem

The inputs of the twonorm problem are points from two Gaussian distributions with unit covariance matrix. Class 1 is multivariate normal with mean $(a,a,\ldots,a)$ and class 2 with mean $(-a,-a,\ldots,-a)$, $a=2/d^{-0.5}$.

- Keywords
- datagen

##### Usage

`mlbench.twonorm(n, d=20)`

##### Arguments

- n
- number of patterns to create
- d
- dimension of the twonorm problem

##### Value

- Returns an object of class
`"mlbench.twonorm"`

with components x input values classes factor vector of length `n`

with target classes

##### References

Breiman, L. (1996). Bias, variance, and arcing classifiers. Tech. Rep. 460, Statistics Department, University of California, Berkeley, CA, USA.

##### Examples

```
p<-mlbench.twonorm(1000, d=2)
plot(p)
```

*Documentation reproduced from package mlbench, version 0.5-1, License: Free for non-commercial purposes. See the file README and the help pages of the data sets for details.*

### Community examples

Looks like there are no examples yet.