bern_obj: Bregman Loss in Bernoulli case

Description Usage Arguments Value

Description

Bregman Loss in Bernoulli case

Usage

1
bern_obj(x, a, v, s, lambda, mu0)

Arguments

x

A single row of column of x, for which we want to minimize distance to the mean.

a

Either a vector or scale representing the latent scores.

v

Either a vector or scale representing the latent loadings.

s

Either the s^th row or column of the matrix AV^T - a_cv_c^T

lambda

The regularization parameter in the optimization.

mu0

The value to regularize towards.

Value

The value of the bregman loss of x given the current parameters.


krisrs1128/expPCA documentation built on May 20, 2019, 1:26 p.m.