mlbench (version 2.1-3.1)

mlbench.shapes: Shapes in 2d

Description

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

Usage

mlbench.shapes(n=500)

Value

Returns an object of class "mlbench.shapes" with components

x

input values

classes

factor of length n with target classes

Arguments

n

number of patterns to create

Examples

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

Run the code above in your browser using DataLab