Description Usage Arguments Value References Examples
Performs k-fold cross validation for a jdify
object.
1 |
formula |
an object of class "formula"; same as |
data |
matrix, data frame, list or environment (or object coercible by
|
jd_method |
an object of class |
folds |
number of folds. |
cores |
number of cores for parallelized cross validation (based on
|
... |
further arguments passed to |
A list with elements
folds1``, ...,
foldsk:
for each fold: the fitted model$fit, estimated conditional probabilities (
$probs), and indexes for training and test data (
$train_index,
$test_index').
cv_probs
: aggragated out-of-sample probs
in same order as original
data.
Nagler, T. (2017). A generic approach to nonparametric function estimation with mixed data. arXiv:1704.07457
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.