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


uds-helms/BEclear documentation built on April 16, 2023, 12:44 a.m.