update_C: Update sub-matrix C

Description Usage Arguments Value Author(s) Examples

View source: R/update_C.R

Description

Update sub-matrix C

Usage

1
update_C(W,update_R_list,lambda=0.2,rho=1.1)

Arguments

W

The matrix to be factorized

update_R_list

A list containing the updated results in this iteration after running the function update_R

lambda

A parameter to set the relative weight of the sparsity constraints

rho

A parameter used in the augmented lagrange multiplier method

Value

A list the same as update_R_list with the matrix C updated

Author(s)

Xiaoyao Yin

Examples

1
2
3
4
5
6
W <- simu_data_generation()
init_list <- initialization(W,k=5,l=4)
update_L_list <- update_L(W,init_list)
update_B_list <- update_B(W,update_L_list)
update_R_list <- update_R(W,update_B_list)
update_C_list <- update_C(W,update_R_list,lambda=0.2,rho=1.1)

OSNMTF documentation built on Dec. 1, 2019, 1:22 a.m.