constructParams: Construct a Grid of Parameters

View source: R/util.R

constructParamsR Documentation

Construct a Grid of Parameters

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

constructParams(...)

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

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 March 18, 2022, 5:59 p.m.