mvn_negloglik: Multivariate normal negative log-likelihood loss function for...

View source: R/loss_functions.R

mvn_negloglikR Documentation

Multivariate normal negative log-likelihood loss function for tensorsem nn module.

Description

Multivariate normal negative log-likelihood loss function for tensorsem nn module.

Usage

mvn_negloglik(dat, Sigma)

Arguments

dat

The centered dataset as a tensor

Sigma

The model() implied covariance matrix

Value

torch_tensor: scalar negative log likelihood


vankesteren/tensorsem documentation built on Aug. 22, 2023, 7:41 a.m.