Description Usage Arguments Value
splitBalance
is a wrapper that calls splitStratify
twice. In the first call, splitStratify
is used to create a
balanced training set from the total data. In the second call,
splitStratify
is used to create a balanced validation set
from the leftover data. This function ensures that there are always
an equal number of samples from each class in the split.
1 | splitBalanced(object, percent.include = 67, ...)
|
object |
An |
percent.include |
Specifies the percent of the total number of subjects to include in the training set. |
... |
Arguments passed to both |
Returns a list of two ExprsArray
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.