RcppML: Fast Non-Negative Matrix Factorization and Divisive Clustering
Source:R/RcppML.R
RcppML-package.RdHigh-performance non-negative matrix factorization (NMF), singular value decomposition (SVD/PCA), and divisive clustering for large sparse and dense matrices, powered by Rcpp and Eigen.
NMF (Non-negative Matrix Factorization)
nmfFit NMF model (sparse or dense input, optional cross-validation)
evaluateEvaluate reconstruction loss of an NMF model
alignAlign factors across NMF models
predict,nmf-methodProject new data onto a fitted NMF model
consensus_nmfConsensus clustering from multiple NMF runs
simulateNMFSimulate data from a known NMF model
auto_nmf_distributionSelect distribution based on data characteristics
SVD / PCA
svdTruncated SVD via deflation
pcaPCA (centered SVD)
reconstructReconstruct matrix from SVD/PCA model
variance_explainedProportion of variance per factor
NNLS (Non-negative Least Squares)
nnlsSolve non-negative least squares problems
Clustering
dclustDivisive clustering via recursive rank-2 NMF
bipartitionSplit samples into two groups via rank-2 NMF
bipartiteMatchMatch two sets of cluster labels
Factor Networks (multi-layer / multi-modal)
factor_netCompile a factorization network
fitFit a compiled factor network
factor_input,nmf_layer,svd_layerNode constructors
factor_shared,factor_concat,factor_addMerge operations
factor_config,W,HConfiguration
cross_validate_graphCross-validate a factor network
StreamPress I/O
st_write,st_readRead/write .spz files
st_infoInspect .spz file metadata
st_read_obs,st_read_varRead embedded metadata tables
st_read_gpu,st_free_gpuGPU-direct .spz reading
GPU
gpu_availableCheck GPU availability
gpu_infoGet GPU device details
Author
Maintainer: Zachary DeBruine zacharydebruine@gmail.com (ORCID)