getError: Retrieve the error of the approximation from CURobj-class

Description Usage Arguments Value References Examples

Description

Retrieve the error of the approximation from CURobj-class

Usage

1
	getError(object)

Arguments

object

object of class CURobj-class

Value

The Frobenius norm of the difference between the original matrix and the CUR approximation, or NULL, if CUR was called with error.return=FALSE (default).

References

Mahoney M. W. and Drineas P. (2009) CUR matrix decompositions for improved data analysis. PNAS, 106(3):697-702

Andras Bodor, Istvan Csabai, Michael W Mahoney and Norbert Solymosi rCUR:an R package for CUR matrix decomposition BMC Bioinformatics 2012, 13:103 doi:10.1186/1471-2105-13-103

Examples

1
2
3
data(STTm)
res <- CUR(STTm, 31, 12, 3, error.return=TRUE)
getError(res)

rCUR documentation built on May 2, 2019, 2:21 a.m.