stream (version 1.3-0)

DSD_mlbenchData: Stream Interface for Data Sets From mlbench

Description

Provides a convenient stream interface for data sets from the mlbench package.

Usage

DSD_mlbenchData(data=NULL, loop = FALSE, random = FALSE, scale = FALSE)

Arguments

data

The name of the dataset from mlbench. If missing then a list of all available data sets is shown and returned.

loop

A flag that tells the stream to loop or not to loop over the data frame.

random

A flag that determines if the data should be in a random order.

scale

A flag that determines if the data should be scaled.

Value

Returns a DSD_mlbenchData object which is also of class DSD_Memory.

Details

The DSD_mlbenchData class is designed to be a wrapper class for data that is held in memory in either a data frame or matrix form. It is a subclass of DSD_Memory.

Call DSD_mlbenchData with a missing value for data to get a list of all available data sets.

See Also

DSD, DSD_Memory, reset_stream

Examples

Run this code
# NOT RUN {
stream <- DSD_mlbenchData("Shuttle")
stream

plot(stream, n=100)
# }

Run the code above in your browser using DataCamp Workspace