has_crossval | R Documentation |
Determine whether cross-validation is specified for the object.
has_crossval(obj)
obj |
The model object. |
Logical indicating if cross-validation will be performed.
ds <- gen_sample_dataset(D = c(4, 4, 4), nobs = 10)
cval <- blocked_cross_validation(ds$design$block_var)
mdl <- load_model("sda_notune")
mspec <- mvpa_model(mdl, ds$dataset, ds$design, "classification", crossval = cval)
has_crossval(mspec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.