SVDWorker
SVDMaster
objects instantiate and run a distributed SVD computation
SVDMaster
An R6Class
generator object
SVDMaster$new(defnId, k, debug=FALSE)
Create an SVD master object with the specified id, the number of singular vectors desired, and the debugging flag. The debug flag is used for debugging computations
kosher()
Check if inputs and state of object are sane. For future use
updateV(arg)
Return an updated value for the V vector
updateU(arg)
Return an updated value for the U vector
fixFit(v, d)
Construct the residual matrix using given the v vector and d so far
reset()
Initialize the computation
dimX(, ...)
Return the dimensions of the matrix
normU(arg, ...)
Normalize U vector by arg
addSite(name, url)
Add a worker site for participating in the distributed computation
run(k = private$k, thr = 1e-8, max.iter = 100)
Run the SVD computation until either the threshold is reached or the max.iter number of iterations are used up
summary()
Return the summary of results
SVDWorker
which goes hand-in-hand with this object