distcomp (version 1.0-1)

SVDWorker: Create a worker object for use as a worker with master objects generated by SVDMaster

Description

SVDWorker objects are worker objects at each site of a distributed SVD model computation

Usage

SVDWorker

Arguments

Format

An R6Class generator object

Methods

SVDWorker$new(x, stateful=TRUE)

Create a new SVD worker object with data x and flag for preserving state between iterations

reset()

Initialize work matrix and set up starting values for iterating

dimX(...)

Return the dimensions of the matrix

updateV(arg, ...)

Return an updated value for the V vector, normalized by arg

updateU(arg, ...)

Return an updated value for the norm of the U vector

normU(arg, ...)

Normalize U vector by arg

fixU(arg, ...)

Construct the residual matrix using arg

getN(...)

Return the number of rows

getP(...)

Return the number of columns

kosher()

Check if inputs and state of object are sane. For future use

getStateful()

Returns TRUE if object is stateful, else FALSE

See Also

SVDMaster which goes hand-in-hand with this object