constructParams: Construct a Grid of Parameters

Description Usage Arguments Value Author(s) See Also Examples

View source: R/util.R

Description

This is a helper function which, geiven a named list of parameter choices, expand the complete grid and returns a CVST.params object suitable for CV and fastCV.

Usage

1

Arguments

...

The parameters that should be expanded.

Value

Returns a CVST.params wich is basically a named list of possible parameter vallues.

Author(s)

Tammo Krueger <tammokrueger@googlemail.com>

See Also

fastCV

Examples

1
2
3
params = constructParams(kernel="rbfdot", sigma=10^(-1:5), nu=c(0.1, 0.2))
# the expanded grid contains 14 parameter lists:
length(params)

CVST documentation built on May 2, 2019, 3:43 p.m.