gridCheck: 'rtemis' internal: Grid check

View source: R/gridSearchLearn.R

gridCheckR Documentation

rtemis internal: Grid check

Description

Checks if grid search needs to be performed. All tunable parameters should be passed to this function, individually or as a list. If any argument has more than one assigned values, the function returns TRUE, otherwise FALSE. This can be used to check whether gridSearchLearn must be run.

Usage

gridCheck(...)

Arguments

...

Parameters; will be converted to a list

Details

The idea is that if you know which parameter values you want to use, you define them directly e.g. ⁠alpha = 0, lambda = .2⁠. If you don't know, you enter the set of values to be tested, e.g. ⁠alpha = c(0, .5, 1), lambda = seq(.1, 1, .1)⁠.


egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.