sample_IBP_a: Sampling step for Indian Buffet Process Alpha Parameter

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Sampling step for Indian Buffet Process Alpha Parameter

Usage

1
sample_IBP_a(ibp_b, zeros, e = 1, f = 1)

Arguments

ibp_b

A scalar double, Indian Buffet Process beta parameter.

zeros

A binary, sparsity inducing matrix of dimenion P x K.

e

A scalar double, tunable hyperparameter for the shape parameter of the gamma draw. Default is 1.

f

A scalar double, tunable hyperparameter for the rate parameter of the gamma draw. Default is 1.

Value

ibp_a Scalar double, Indian Buffet Process alpha parameter.


EandrewJones/mmBPFA documentation built on Feb. 14, 2021, 11:17 p.m.