Perform GLRM decomposition using h2o::h2o.glrm
Given Input matrix A
:
A(m x n) = X(m x k) %*% Y(k x n)
d.H2OGLRM(x, x.test = NULL, x.valid = NULL, k = 3,
ip = "localhost", port = 54321, transform = "NONE",
loss = "Quadratic", regularization.x = "None",
regularization.y = "None", gamma.x = 0, gamma.y = 0,
max_iterations = 1000, max_updates = 2 * max_iterations,
init_step_size = 1, min_step_size = 1e-04, seed = -1,
init = "PlusPlus", svd.method = "Randomized", verbose = TRUE,
print.plot = TRUE, plot.theme = getOption("rt.fit.theme",
"lightgrid"), n.cores = rtCores, ...)
Input data
Optional test set. Will be projected on to NMF basis
Optional validation set
Integer: Rank of decomposition
String: IP address of H2O server. Default = "localhost"
Integer: Port number for server. Default = 54321
String: Transformation of input prior to decomposition
String: Numeric loss function: "Quadratic", "Absolute", "Huber", "Poisson", "Hinge", "Logistic", "Periodic". Default = "Quadratic"
String: Regularization function for X matrix: "None", "Quadratic", "L2", "L1", "NonNegative", "OneSparse", "UnitOneSparse", "Simplex". Default = "None"
String: Regularization function for Y matrix: "None", "Quadratic", "L2", "L1", "NonNegative", "OneSparse", "UnitOneSparse", "Simplex". Default = "None"
Float: Regularization weight on X matrix. Default = 0
Float: Regularization weight on Y matrix. Default = 0
Integer: Maximum number of iterations. Default = 1000
Integer: Maximum number of iterations. Default = 2 * max_iterations
Float: Initial step size. Default = 1
Float: Minimum step size. Default = .0001
Integer: Seed for random number generator. Default = -1 (time-based)
String: Initialization mode: "Random", "SVD", "PlusPlus", "User". Default = "PlusPlus"
String: SVD method for initialization: "GramSVD", "Power", "Randomized". Default = "Randomized"
Logical: If TRUE, print console messages
Logical: If TRUE, print objective score against iteration number
String: Theme to pass to mplot3.xy if print.plot = TRUE
Integer: Number of cores to use
Additional parameters to be passed to h2o::h2o.glrm
rtDecom object
Learn more about GLRM from the H2O tutorial https://github.com/h2oai/h2o-tutorials/blob/master/tutorials/glrm/glrm-tutorial.md
Other Decomposition: d.CUR
,
d.H2OAE
, d.ICA
,
d.ISOMAP
, d.KPCA
,
d.LLE
, d.MDS
,
d.NMF
, d.PCA
,
d.SPCA
, d.SVD
,
d.TSNE
, d.UMAP