runCrossValidation: runCrossValidation

Description Usage Arguments Value Examples

View source: R/runCrossValidation.R

Description

Runs an N-fold cross validation with m test samples per round for all possible combinations of parameters

Usage

1
2
3
4
5
runCrossValidation(inPath, windowTypes = c("sakoechiba", "slantedband",
  "itakura"), stepPatterns = c("symmetric1", "symmetric2", "asymmetric"),
  windowSizes = c(1, 5, 10, 20, 50, 100), P = c(1, 2, 5, 10, 20, 50),
  maxLength = c(1000, 2000, 3000, 4000), sampFun = c("sum", "max"), N, m,
  logFile = NA)

Arguments

inPath

Path containing timeseries databases.

windowTypes

Window types.

stepPatterns

Step patterns.

windowSizes

Window sizes.

P

Time averaging parameter.

maxLength

Maximum trace length

sampFun

Sampling function.

N

Number of cross validation rounds - one per reference sample.

m

Number of test samples per round.

logFile

Log file, defaults to NA.

Value

results Summary table with performance for each combination of parameters.

Examples

1

cgvwzq/rlang-loophole documentation built on May 20, 2019, 5:10 p.m.