covarianceCzp: Covariance matrices between units and parameters

Description Usage Arguments Value

View source: R/tagi.R

Description

This function calculate the covariance matrices between units and parameters Σ_{ZW} and Σ_{ZB} for a given layer.

Usage

1
covarianceCzp(ma, Sp, idxFCwwa, idxFCb)

Arguments

ma

Mean vector of activation units from previous layer μ_{A}

Sp

Covariance matrix of parameters for the current layer Σ_{θ}

idxFCwwa

Indices for weights and for activation units for the current and previous layers respectively

idxFCb

Indices for biases of the current layer

Value


mgoulet847/tagi documentation built on Dec. 21, 2021, 5:10 p.m.