weighted_logLik {deeptrafo} | R Documentation |
Tune and evaluate weighted transformation ensembles
Description
Tune and evaluate weighted transformation ensembles
Usage
weighted_logLik(
object,
weights = NULL,
newdata = NULL,
convert_fun = function(x, ...) mean(x, ...),
batch_size = NULL,
...
)
Arguments
object |
Object of class |
weights |
Numeric; weight-vector of length |
newdata |
List or data.frame; new data to evaluate or tune the weights on |
convert_fun |
Function; applied to the log-likelihood values of all observations. |
batch_size |
Integer; optional, useful if data is too large. |
... |
Further arguments supplied to |
Value
Returns list of ensemble members, average, and ensemble
log-likelihood converted by convert_fun
[Package deeptrafo version 1.0-0 Index]