eval_model_rep: Evaluate a model with replication

Description Usage Arguments Details Value

View source: R/eval_model_rep.R

Description

eval_model_rep is similar to [eval_model()] but it allows for multiple evaluations. Though it is mostly a wrapper for [eval_model()] and replicate, the function adds additional ability to analyze results by returning the standard deviation of model performance across replications in addition to standard deviation across folds.

Usage

1
eval_model_rep(nrep = 10, ...)

Arguments

nrep

The number of replications to perform.

...

Additional arguments to pass to [eval_model()].

Details

To make results reproducible, set a random seed before eval_model_rep using set.seed.

Value

A list with two arguments: result_summary, containing the results as summarized by fold and replication, and result_all, containing the results summarized by replication only.


awqx/qsarr documentation built on Oct. 2, 2021, 7:05 a.m.