Learn R Programming

OSNMTF (version 0.1.0)

update_B: Update sub-matrix B

Description

Update sub-matrix B

Usage

update_B(W,update_L_list)

Arguments

W

The matrix to be factorized

update_L_list

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

Value

A list the same as update_L_list with the matrix B updated

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab