compute_normalized_log_weights: Normalize a vector of weights on log scale: given a vector of...

Description Usage Arguments Value

Description

Normalize a vector of weights on log scale: given a vector of log_weights such that exp(log_weights) are proportional to the final weights, update so that exp(log_weights) sums to 1.

Usage

1

Arguments

log_weights:

a vector of log(w) where w is proportional to the weights

Value

normalized log_weights so that sum(exp(log_weights)) = 1


reichlab/kcde documentation built on May 27, 2019, 4:53 a.m.