mlbench (version 0.5-1)

mlbench.waveform: Waveform Database Generator (written in C)

Description

The generated data set consists of 21 attributes with continuous values and a variable showing the 3 classes (33% for each of 3 classes). Each class is generated from a combination of 2 of 3 "base" waves.

Usage

mlbench.waveform(n)

Arguments

n
number of patterns to create

Value

  • Returns an object of class "mlbench.waveform" with components
  • xinput values
  • classesfactor 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

Run this code
p<-mlbench.waveform(100)
  plot(p)

Run the code above in your browser using DataCamp Workspace