Package: RcppML Type: Package Title: Fast Non-Negative Matrix Factorization and Divisive Clustering Version: 1.0.0 Date: 2026-03-10 Authors@R: person("Zachary", "DeBruine", email = "zacharydebruine@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2234-4827")) Description: High-performance non-negative matrix factorization (NMF), singular value decomposition (SVD), and divisive clustering for large sparse and dense matrices. Implements alternating least squares with coordinate descent and Cholesky NNLS solvers, diagonal scaling for interpretable factors, cross-validation for automatic rank selection, multiple distribution-based losses (Gaussian, Poisson, Generalized Poisson, Negative Binomial, Gamma, Inverse Gaussian, Tweedie) via iteratively reweighted least squares, regularization (L1, L2, L21, angular, graph Laplacian), and optional GPU acceleration via CUDA. Includes divisive clustering via recursive rank-2 factorization, consensus clustering, and the StreamPress compressed sparse matrix format. Methods are described in DeBruine, Melcher, and Triche (2021) . Depends: R (>= 4.1.0), Matrix License: GPL (>= 3) Imports: Rcpp, methods, stats, utils LinkingTo: Rcpp, RcppEigen RoxygenNote: 7.3.3 Suggests: ggplot2, hdf5r, jsonlite, knitr, pheatmap, randomForest, RColorBrewer, rmarkdown, patchwork, plotly, scales, Seurat, SeuratData, SeuratObject, testthat (>= 3.0.0), uwot, viridis VignetteBuilder: knitr Config/testthat/edition: 3 LazyData: true LazyDataCompression: xz URL: https://github.com/zdebruine/RcppML BugReports: https://github.com/zdebruine/RcppML/issues SystemRequirements: CUDA Toolkit >= 11.0 (optional, for GPU acceleration) Encoding: UTF-8 Config/pak/sysreqs: nvidia-cuda-dev Repository: https://zdebruine.r-universe.dev Date/Publication: 2026-10-19 17:24:49 UTC RemoteUrl: https://github.com/zdebruine/rcppml RemoteRef: HEAD RemoteSha: 49df8da602fac19aa3932623ef1932723a978a01 NeedsCompilation: yes Packaged: 2026-10-22 06:31:10 UTC; root Author: Zachary DeBruine [aut, cre] (ORCID: ) Maintainer: Zachary DeBruine