Package: rsparse 0.5.3

rsparse: Statistical Learning on Sparse Matrices
Implements many algorithms for statistical learning on sparse matrices - matrix factorizations, matrix completion, elastic net regressions, factorization machines. Also 'rsparse' enhances 'Matrix' package by providing methods for multithreaded <sparse, dense> matrix products and native slicing of the sparse matrices in Compressed Sparse Row (CSR) format. List of the algorithms for regression problems: 1) Elastic Net regression via Follow The Proximally-Regularized Leader (FTRL) Stochastic Gradient Descent (SGD), as per McMahan et al(, <doi:10.1145/2487575.2488200>) 2) Factorization Machines via SGD, as per Rendle (2010, <doi:10.1109/ICDM.2010.127>) List of algorithms for matrix factorization and matrix completion: 1) Weighted Regularized Matrix Factorization (WRMF) via Alternating Least Squares (ALS) - paper by Hu, Koren, Volinsky (2008, <doi:10.1109/ICDM.2008.22>) 2) Maximum-Margin Matrix Factorization via ALS, paper by Rennie, Srebro (2005, <doi:10.1145/1102351.1102441>) 3) Fast Truncated Singular Value Decomposition (SVD), Soft-Thresholded SVD, Soft-Impute matrix completion via ALS - paper by Hastie, Mazumder et al. (2014, <doi:10.48550/arXiv.1410.2596>) 4) Linear-Flow matrix factorization, from 'Practical linear models for large-scale one-class collaborative filtering' by Sedhain, Bui, Kawale et al (2016, ISBN:978-1-57735-770-4) 5) GlobalVectors (GloVe) matrix factorization via SGD, paper by Pennington, Socher, Manning (2014, <https://aclanthology.org/D14-1162/>) Package is reasonably fast and memory efficient - it allows to work with large datasets - millions of rows and millions of columns. This is particularly useful for practitioners working on recommender systems.
Authors:
rsparse_0.5.3.tar.gz
rsparse_0.5.3.zip(r-4.7)rsparse_0.5.3.zip(r-4.6)rsparse_0.5.3.zip(r-4.5)
rsparse_0.5.3.tgz(r-4.6-x86_64)rsparse_0.5.3.tgz(r-4.6-arm64)rsparse_0.5.3.tgz(r-4.5-x86_64)rsparse_0.5.3.tgz(r-4.5-arm64)
rsparse_0.5.3.tar.gz(r-4.7-arm64)rsparse_0.5.3.tar.gz(r-4.7-x86_64)rsparse_0.5.3.tar.gz(r-4.6-arm64)rsparse_0.5.3.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html✨
card.svg |card.png
rsparse/json (API)
NEWS
| # Install 'rsparse' in R: |
| install.packages('rsparse', repos = c('https://dselivanov.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/dselivanov/rsparse/issues
- movielens100k - MovieLens 100K Dataset
collaborative-filteringfactorization-machinesmatrix-completionmatrix-factorizationrecommender-systemsparse-matricessvdopenblascppopenmp
Last updated from:54f7e6a8e8. Checks:11 NOTE, 1 OK, 1 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | NOTE | 230 | ||
| linux-devel-x86_64 | NOTE | 226 | ||
| source / vignettes | OK | 226 | ||
| linux-release-arm64 | NOTE | 226 | ||
| linux-release-x86_64 | NOTE | 231 | ||
| macos-release-arm64 | NOTE | 213 | ||
| macos-release-x86_64 | NOTE | 451 | ||
| macos-oldrel-arm64 | NOTE | 188 | ||
| macos-oldrel-x86_64 | NOTE | 571 | ||
| windows-devel | NOTE | 264 | ||
| windows-release | NOTE | 292 | ||
| windows-oldrel | NOTE | 280 | ||
| wasm-release | FAIL | 154 |
Exports:ap_kdetect_number_omp_threadsFactorizationMachineFTRLGloVeLinearFlowndcg_kPureSVDScaleNormalizesoft_imputesoft_svdWRMF
Dependencies:data.tablefloatlatticelgrMatrixMatrixExtraR6RcppRcppArmadilloRhpcBLASctl
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Detects number of OpenMP threads in the system | detect_number_omp_threads |
| Second order Factorization Machines | FactorizationMachine |
| Logistic regression model with FTRL proximal SGD solver. | FTRL |
| Global Vectors | GloVe |
| Linear-FLow model for one-class collaborative filtering | LinearFlow |
| Ranking Metrics for Top-K Items | ap_k metrics ndcg_k |
| MovieLens 100K Dataset | movielens100k |
| PureSVD recommender model decompomposition | PureSVD |
| Re-scales input matrix proportinally to item popularity | ScaleNormalize |
| SoftImpute/SoftSVD matrix factorization | soft_impute soft_svd |
| Weighted Regularized Matrix Factorization for collaborative filtering | WRMF |
