ebma_folding | R Documentation |
#' ebma_folding()
generates a data fold that will not be used in
classifier tuning. It is data that is needed to determine the optimal
tolerance for EBMA.
ebma_folding(data, L2.unit, ebma.size)
data |
The full survey data. A tibble. |
L2.unit |
Geographic unit. A character scalar containing the column name
of the geographic unit in |
ebma.size |
EBMA fold size. A number in the open unit interval
indicating the proportion of respondents to be allocated to the EBMA fold.
Default is |
Returns a list with two elements which are both tibble. List element
one is named ebma_fold
and contains the tibble used in Ensemble
Bayesian Model Averaging Tuning. List element two is named cv_data
and contains the tibble used for classifier tuning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.