error_curve: Calculate error curve

Description Usage Arguments Details Value Note

View source: R/error_curve.R

Description

Calculates the error curve for a list of matrices

Usage

1
error_curve(Hat.list, Star = NULL)

Arguments

Hat.list

a list of matrices (each dimension m-by-n) representing the iterates of an optimization algorithm

Star

matrix (m-by-n) representing the ground truth (optional)

Details

Given a list of matrices representing iterates of some optimization algorithm and an optional "ground truth" matrix Star, this function calculates the "error curve", which is the Frobenius norm between each iterate and (1) the final iterate (if Star is not specified) or (2) the ground truth (if Star is specified).

Value

An error curve (numeric vector).

Note

See also tsmvr_solve and plot_error_curve.


spcorum/tsmvrdata documentation built on May 6, 2019, 11:17 a.m.