Learn R Programming

sisal (version 0.48)

sisalData: Download External Datasets for SISAL

Description

Loads external datasets for testing with SISAL. Choices are laser generated data and Poland electricity load data.

Usage

sisalData(dataset = c("poland", "laser", "laser.cont"), verify = TRUE)

Arguments

dataset

A character string: "poland" (default), "laser" or "laser.cont" (see ‘Note’).

verify

A logical flag. If TRUE, verifies the integrity of the downloaded data by computing a checksum and comparing it to a pre-computed value.

Value

With option dataset="laser", returns an integer vector of length 1000.

With option dataset="laser.cont", returns an integer vector of length 9093.

With option dataset="poland", returns a list with two numeric vectors:

learn

1400 values

test

201 values

Details

The laser generated data come in two parts, "laser" and "laser.cont". The Poland electricity load data is also divided in two parts, but they are both returned with dataset="poland".

This function requires an Internet connection. The download may fail due to a problem such as the remote server being unavailable.

References

The Santa Fe Time Series Competition Data / Data Set A: Laser generated data. Availability unknown (2020-02-14).

Environmental and Industrial Machine Learning Group / Datasets / Poland Electricity Load. http://research.ics.aalto.fi/eiml/datasets.shtml. URL accessed on 2020-02-14.

See Also

testSisal

Examples

Run this code
# NOT RUN {
foo <- sisalData("poland")
length(foo$learn) # 1400
length(foo$test)  # 201
# }

Run the code above in your browser using DataLab