Tune and evaluate weighted transformation ensembles
weighted_logLik(
object,
weights = NULL,
newdata = NULL,
convert_fun = function(x, ...) mean(x, ...),
batch_size = NULL,
...
)
Returns list of ensemble members, average, and ensemble
log-likelihood converted by convert_fun
Object of class "dtEnsemble"
Numeric; weight-vector of length n_ensemble
, if
NULL
the weights are tuned on newdata
List or data.frame; new data to evaluate or tune the weights on
Function; applied to the log-likelihood values of all observations.
Integer; optional, useful if data is too large.
Further arguments supplied to print.deeptrafo