SVDMaster
SVDWorker
objects are worker objects at each site of
a distributed SVD model computation
SVDWorker
An R6Class
generator object
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
SVDMaster
which goes hand-in-hand with this object