mlbench.hypercube

0th

Percentile

Corners of Hypercube

The created data are d-dimensional spherical Gaussians with standard deviation sd and means at the corners of a d-dimensional hypercube. The number of classes is $2^d$.

Keywords
datagen
Usage
mlbench.hypercube(n=800, d=3, sides=rep(1,d), sd=0.1) hypercube(d)
Arguments
n
number of patterns to create
d
dimensionality of hypercube, default is 3
sides
lengths of the sides of the hypercube, default is to create a unit hypercube
sd
standard deviation
Value

"mlbench.hypercube" with components
x
input values
classes
factor of length n with target classes

Aliases
  • mlbench.corners
  • mlbench.hypercube
  • hypercube
Examples
library(mlbench) p <- mlbench.hypercube() plot(p) library("lattice") cloud(x.3~x.1+x.2, groups=classes, data=as.data.frame(p))
Documentation reproduced from package mlbench, version 2.1-1, License: GPL-2

Community examples

Looks like there are no examples yet.