Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.mlbench

Plot mlbench objects


Description

Plots the data of an mlbench object using different colors for each class. If the dimension of the input space is larger that 2, a scatter plot matrix is used.

Usage

## S3 method for class 'mlbench'
plot(x, xlab="", ylab="", ...)

Arguments

x

Object of class "mlbench".

xlab

Label for x-axis.

ylab

Label for y-axis.

...

Further plotting options.

Examples

# 6 normal classes
p <- mlbench.2dnormals(500,6)
plot(p)

# 4-dimensiona XOR
p <- mlbench.xor(500,4)
plot(p)

mlbench

Machine Learning Benchmark Problems

v2.1-3
GPL-2
Authors
Friedrich Leisch and Evgenia Dimitriadou.
Initial release
2021-01-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.