loss: loss

View source: R/loss.R

lossR Documentation

loss

Description

computation of the loss of factorization LR

Usage

loss(L, R, lambda, D)

Arguments

L

a matrix describing the effects of the features

R

a matrix describing the effects of the samples

lambda

constant that controls the extent of regularization during the gradient descent

D

a matrix containing the measured values

Value

a list containing the loss calculated and the error matrix


David-J-R/BEclear documentation built on April 17, 2023, 2:19 p.m.