Learn R Programming

CVST (version 0.2-3)

constructParams: 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.

See Also

fastCV

Examples

Run this code
# NOT RUN {
params = constructParams(kernel="rbfdot", sigma=10^(-1:5), nu=c(0.1, 0.2))
# the expanded grid contains 14 parameter lists:
length(params)
# }

Run the code above in your browser using DataLab