sisalData: Download External Datasets for SISAL

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/sisalData.R

Description

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

Usage

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

Arguments

dataset

A character string: "laser" (default), "laser.cont" or "poland".

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.

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.

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

Author(s)

Mikko Korpela

References

The Santa Fe Time Series Competition Data / Data Set A: Laser generated data. http://www-psych.stanford.edu/~andreas/Time-Series/SantaFe.html#setA. URL accessed on 2015-10-09.

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

See Also

testSisal

Examples

1
2
3
4
5
6
## Not run: 
foo <- sisalData("laser")
length(foo) # 1000
mean(foo)   # 59.894
sd(foo)     # 46.87543
## End(Not run)

sisal documentation built on May 29, 2017, 9:09 a.m.