loss1.3: General loss criterion

View source: R/loss1.3.R

loss1.3R Documentation

General loss criterion

Description

This function represents the general loss function on which is based Tuckals3 and calculates the difference between two arrays, x and xhat, where x is the three-way contingency table and xhat is the reconstruction of this table by means of components and core array.

Usage

loss1.3(param, comp.old)

Arguments

param

The matrices of the row, column and tube components derived via the Tucker3 model.

comp.old

The matrices of the row, column and tube components derived in the foregoing iteration of the Tuckals3 algorithm.

Value

The difference between three-way contingency table and its reconstruction from the Tucker3 model.

Author(s)

Rosaria Lombardo, Eric J Beh, Ida Camminatiello.


CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.