trafoensemble {deeptrafo} | R Documentation |
Transformation ensembles
Description
Transformation ensembles
Usage
trafoensemble(
formula,
data,
n_ensemble = 5,
verbose = FALSE,
print_members = TRUE,
stop_if_nan = TRUE,
save_weights = TRUE,
callbacks = list(),
save_fun = NULL,
seed = seq_len(n_ensemble),
tf_seeds = seq_len(n_ensemble),
...
)
Arguments
formula |
Formula specifying the response, interaction, shift terms
as |
data |
Named |
n_ensemble |
Numeric; number of ensemble members to fit. |
verbose |
Logical; whether to print training in each fold. |
print_members |
Logical; print results for each member. |
stop_if_nan |
Logical; whether to stop ensembling if |
save_weights |
Logical; whether to save the ensemble weights. |
callbacks |
List; callbacks used for fitting. |
save_fun |
Function; function to be applied to each member to be stored in the final result. |
seed |
Numeric vector of length |
tf_seeds |
Numeric vector of length |
... |
Further arguments passed to |
Value
Ensemble of "deeptrafo"
models with list of training histories
and fitted weights included in ensemble_results
. For details see
the return statment in ensemble
.