update_tc: Internal function to calculate marginal probility of latent...

View source: R/update_tc.R

update_tcR Documentation

Internal function to calculate marginal probility of latent variables

Description

Internal function to calculate marginal probility of latent variables

Usage

update_tc(log_z, tcs, tc_history)

Arguments

log_z

A 2D matrix containing the pointwise estimate of total correlation explained by each latent variable for each sample.

tcs

The total correlation explained by each latent variable in unit of nats (natural unit of information)

tc_history

A log of the estimated total correlation with each iteration of the algorithm.

Value

log_p_y. The log of the marginal probability of the latent variables.


jpkrooney/rcorex documentation built on July 25, 2022, 1:37 a.m.