objective_function: Computes the value of the objective function in X to be...

Description Usage Arguments Value Examples

View source: R/optimization_functions.R

Description

Computes the value of the objective function in X to be optimized at each iteration of ADMM.

Usage

1
objective_function(X, Y, projection = default_projection, Theta, gamma, tau)

Arguments

X

A matrix of Poisson parameters.

Y

A matrix of counts (same size as X).

projection

A projection function - identifiability constraint - by default centers by rows and columns

Theta

A matrix interaction (same size as X).

gamma

A matrix (dual variable, same size as X).

tau

A number (augmented Lagrangian parameter)

Value

The value of the augmented Lagrangian (with fixed Theta and gamma) taken at X.

Examples

1


genevievelrobin/lori documentation built on April 2, 2018, 7:30 p.m.