testSisal | R Documentation |
Tests sisal
with example datasets or time series data.
The function uses the training part of an example dataset or
user-supplied numeric data interpreted as a time series.
testSisal(dataset = c("tsToy", "laser", "poland", "toy"), nData = Inf,
FUN = "sisal", lags = NULL, stepsAhead = 1,
noiseSd = 0.2, verbose = 1, ...)
dataset |
the dataset to use. A |
nData |
a |
FUN |
which function to call. By default, acts as a front end
to |
lags |
a |
stepsAhead |
an integral value specifying how many steps ahead to predict in a time series setting. The default is 1. |
noiseSd |
standard deviation of noise to be used with the
|
verbose |
a |
... |
arguments passed to |
The function recognizes if a numeric
dataset
is the "laser"
or "poland"
dataset. In case repeated
experiments will be performed on those datasets, it is best to explicitly
fetch them with sisalData
before using this function.
Doing so reduces the amount of network traffic and makes offline work
possible.
The value returned by function FUN
, when called with the
given dataset
(processed by this function) and
parameters. See the help page of the relevant function,
e.g. sisal
.
Mikko Korpela
See sisalData
, toy.learn
and
tsToy.learn
for documentation on the datasets.
The performance of the models returned by this functions can be
evaluated using bootMSE
, which uses a separate test part
of the dataset.
foo <- testSisal(dataset="toy", hbranches=2, max.width=2, Mtimes=5,
use.ridge=TRUE)
print(foo)
names(foo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.