Package: poismf 0.4.0-4
poismf: Factorization of Sparse Counts Matrices Through Poisson Likelihood
Creates a non-negative low-rank approximate factorization of a sparse counts matrix by maximizing Poisson likelihood with L1/L2 regularization (e.g. for implicit-feedback recommender systems or bag-of-words-based topic modeling) (Cortes, (2018) <arxiv:1811.01908>), which usually leads to very sparse user and item factors (over 90% zero-valued). Similar to hierarchical Poisson factorization (HPF), but follows an optimization-based approach with regularization instead of a hierarchical prior, and is fit through gradient-based methods instead of variational inference.
Authors:
poismf_0.4.0-4.tar.gz
poismf_0.4.0-4.tar.gz(r-4.5-noble)poismf_0.4.0-4.tar.gz(r-4.4-noble)
poismf_0.4.0-4.tgz(r-4.4-emscripten)poismf_0.4.0-4.tgz(r-4.3-emscripten)
poismf.pdf |poismf.html✨
poismf/json (API)
# Install 'poismf' in R: |
install.packages('poismf', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/david-cortes/poismf/issues
Last updated 2 years agofrom:451fcff9b1. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 22 2024 |
R-4.5-linux-x86_64 | OK | Dec 22 2024 |
Exports:factorsfactors.singleget.factor.matricesget.model.mappingspoismfpoismf_unsafepredict.poismfprint.poismfsummary.poismftopNtopN.new
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Determine latent factors for new rows/users | factors |
Get latent factors for a new user given her item counts | factors.single |
Extract Latent Factor Matrices | get.factor.matrices |
Extract user/row and item/column mappings from Poisson model. | get.model.mappings |
Factorization of Sparse Counts Matrices through Poisson Likelihood | poismf |
Poisson factorization with no input casting | poismf_unsafe |
Predict expected count for new row(user) and column(item) combinations | predict.poismf |
Get information about poismf object | print.poismf |
Get information about poismf object | summary.poismf |
Rank top-N highest-predicted items for an existing user | topN |
Rank top-N highest-predicted items for a new user | topN.new |