run_joinNMF_tensor | R Documentation |
Computes join NMF on tensorflow using the reticulate framework, uses a list of non-negative matrices as input
run_joinNMF_tensor( matrix_list, ranks = 2, n_initializations = 10, iterations = 10^4, convergence_threshold = 40, Sp = 0, extract_features = FALSE )
matrix_list |
List of non-negative matrices |
ranks |
numeric vector with ranks to factorize |
n_initializations |
Number of initializations to evaluate |
iterations |
Maximum number of iterations to run for every initialization |
convergence_threshold |
The factorization stops, if the convergence test is constant for this number of iterations |
Sp |
Sparsity, |
extract_features |
if TRUE performs feature extraction for all factorization ranks > 2. |
An object of class ButchR_joinNMF. containing a join H matrix and one W matrix for each input matrix
## Not run: norm_mat_list <- list(a = matrix(abs(rnorm(1000)), ncol = 10), b = matrix(abs(rnorm(1000)), ncol = 10)) jnmf_exp <- run_joinNMF_tensor(norm_mat_list, ranks = 2:5, n_initializations = 10, iterations = 10^4, convergence_threshold = 40) jnmf_exp ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.