Nothing
Code
caret:::parse_sampling("what?")
Condition
Error:
! That sampling scheme is not in caret's built-in library
Code
caret:::parse_sampling(list(name = "yep", func = sampling_methods[["up"]],
first = 2), check_install = FALSE)
Condition
Error:
! The element 'first' should be a logical
Code
caret:::parse_sampling(list(name = "yep", func = I, first = 2), check_install = FALSE)
Condition
Error:
! the 'sampling' function should have arguments 'x' and 'y'
Code
caret:::parse_sampling(list(name = "yep"), check_install = FALSE)
Condition
Error:
! the 'sampling' list should have elements first, func, name
Code
caret:::parse_sampling(14, check_install = FALSE)
Condition
Error:
! The sampling argument should be either a string, function, or list. See http://topepo.github.io/caret/model-training-and-tuning.html
Code
getSamplingInfo("plum")
Condition
Error:
! That sampling method is not in caret's built-in library
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.