SVDMaster()SVDWorker.RdSVDWorker objects are worker objects at each site of a distributed SVD model computation
SVDMaster() which goes hand-in-hand with this object
new()Create a new SVDWorker object.
SVDWorker$new(defn, data, stateful = TRUE)
defnthe computation definition
datathe local x matrix
statefula boolean flag indicating if state needs to be preserved between REST calls, TRUE by default
a new SVDWorker object
reset()Reset the computation state by initializing work matrix and set up starting values for iterating
SVDWorker$reset()
dimX()Return the dimensions of the matrix
SVDWorker$dimX(...)
...other args ignored
the dimension of the matrix
updateV()Return an updated value for the V vector, normalized by arg
SVDWorker$updateV(arg, ...)
argthe normalizing value
...other args ignored
updated V
updateU()Update U and return the updated norm of U
SVDWorker$updateU(arg, ...)
argthe initial value
...other args ignored
updated norm of U
normU()Normalize U vector
SVDWorker$normU(arg, ...)
argthe normalizing value
...other args ignored
TRUE invisibly
fixU()Construct residual matrix using arg
SVDWorker$fixU(arg, ...)
argthe value to use for residualizing
...other args ignored
getN()Getthe number of rows of x matrix
SVDWorker$getN()
the number of rows of x matrix
getP()Getthe number of columnsof x matrix
SVDWorker$getP()
the number of columns of x matrix
getStateful()Return the stateful status of the object.
SVDWorker$getStateful()
the stateful flag, TRUE or FALSE
kosher()Check if inputs and state of object are sane. For future use
SVDWorker$kosher()
TRUE or FALSE
clone()The objects of this class are cloneable with this method.
SVDWorker$clone(deep = FALSE)
deepWhether to make a deep clone.