log_f_logprima: compute the derivative of the log of density of inactive...

Description Usage Arguments Value See Also

View source: R/utils.R

Description

This function is used in sampling a model with an infinite number of columns in H

Usage

1
log_f_logprima(log_p0, alpha, t)

Arguments

log_p0

log probability (the argument of this function)

alpha

hyperparameter for Indian Buffet Process (Infinite version)

t

the number of rows in the IBP

Value

a value corresponding to the derivative of the log density d/du f(log_p0)

See Also

log_f_logden provides an example


zhenkewu/rewind documentation built on Sept. 9, 2020, 3:40 p.m.