View source: R/gridSearchLearn.R
gridCheck | R Documentation |
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.
gridCheck(...)
... |
Parameters; will be converted to a list |
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)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.