Skip to content

sgdGMF

Estimation of Generalized Matrix Factorization Models via Stochastic Gradient Descent

v1.0.1 · May 17, 2025 · MIT + file LICENSE

Description

Efficient framework to estimate high-dimensional generalized matrix factorization models using penalized maximum likelihood under a dispersion exponential family specification. Either deterministic and stochastic methods are implemented for the numerical maximization. In particular, the package implements the stochastic gradient descent algorithm with a block-wise mini-batch strategy to speed up the computations and an efficient adaptive learning rate schedule to stabilize the convergence. All the theoretical details can be found in Castiglione et al. (2024, <doi:10.48550/arXiv.2412.20509>). Other methods considered for the optimization are the alternated iterative re-weighted least squares and the quasi-Newton method with diagonal approximation of the Fisher information matrix discussed in Kidzinski et al. (2022, <http://jmlr.org/papers/v23/20-1104.html>).

Downloads

604

Last 30 days

6559th

1.8K

Last 90 days

7K

Last year

Trend: -0.3% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.2Mb
  sub-directories of 1Mb or more:
    libs  10.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.3Mb
  sub-directories of 1Mb or more:
    libs  10.5Mb

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 11.2Mb
  sub-directories of 1Mb or more:
    libs  10.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 11.3Mb
  sub-directories of 1Mb or more:
    libs  10.5Mb

Dependency Network

Dependencies Reverse dependencies ggplot2 Rcpp RcppArmadillo RSpectra doParallel foreach MASS SuppDists generics reshape2 ggpubr viridisLite sgdGMF

Version History

new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0 diff May 17, 2025
new 1.0 Feb 12, 2025