mlbench (version 1.1-3)

mlbench.shapes: Shapes in 2d

Description

A Gaussian, square, triangle and wave in 2 dimensions.

Usage

mlbench.shapes(n=500)

Arguments

n
number of patterns to create

Value

  • Returns an object of class "mlbench.shapes" with components
  • xinput values
  • classesfactor of length n with target classes

Examples

Run this code
p<-mlbench.shapes()
plot(p)

Run the code above in your browser using DataCamp Workspace