loss: loss

Description Usage Arguments Value

View source: R/loss.R

Description

computation of the loss of factorization LR

Usage

1
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


BEclear documentation built on Nov. 8, 2020, 8:07 p.m.