Skip to content

Stochastic Gradient Descent for Scalable Estimation

0packages depend
4.8Kdownloads / year
44.3%test coverage
13/13flavors OK

Overview

About

A fast and flexible set of tools for large scale estimation. It features many stochastic gradient methods, built-in models, visualization tools, automated hyperparameter tuning, model checking, interval estimation, and convergence diagnostics.

Changes in 1.1.3
  • Fixed Armadillo 15 deprecation (arma::is_finite() → X.is_finite()).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.2 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-22
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.3
READMEYes · 257 wordsVignettesYes · 1 · staticNEWSYes · 100% structured · mentions 1.1.3Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
8
Examples that run
100%1 run in a plain check
Exported functions with examples
50%
Documented parameters
50%
Return-value docs
50%
Help pages citing references
13%

Also includes 9 demo scripts (run with demo())

Downloads

4.8K
CRAN downloads in the past year
Rank #9,654 · ~13/day · ~399/mo
Daily download trend is not available in this view yet.
39930 days
1K90 days
4.8K1 year
Compare downloads with other packages →
Also on368 r2u2 autocran95 c2d4u

Repository

61Stars
18Forks
41Open issues
0Open PRs
2Releases
359Commits
9Commit identities
gradient-descentbig-datadata-analysisrstatistics
359 commits · Last activity 2025-11-08
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
23
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-10-23 · 612026-07-07 · 61
PracticesBeta

2 development-tooling and community-health practices detected across 1 family in the upstream repository

Checks run against github.com/airoldilab/sgd on 2026-10-18.

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing sgd adds 23 packages (11 with compiled code, 31 MB of source tarballs). Heaviest: BH 14 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (0)
none
Imports (5)
ggplot2MASSmethodsRcppstats
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (6)
Maintainer since 1.1.1 (2019), Author · added in 1.1.1
Contributor
Contributor
Contributor

Previously maintained by Dustin Tran (0.1 to 1.1).

Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.3Latest
    record
    2025-10-21 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2024-01-31
  • 1.1.2
    record
    2024-01-31 · diff ↗
  • archivedRemoved from CRAN
    2024-01-30
    check problems were not corrected in time
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • unarchivedReturned to CRAN
    2019-07-13
  • 1.1.1
    record
    2019-07-13 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • archivedRemoved from CRAN
    2018-01-23
    check problems were not corrected in time
Show 6 earlier eventsHide 6 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1
    record
    2016-01-05 · diff ↗
  • 1.0
    record
    2015-09-23 · diff ↗ ·
    added 1 export
    predict_all
  • 0.1
    record
    2015-05-08
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-05-08
Total releases
6 / 11 yrs
License
GPL-2 OSI
Bundled data
82 KB / 1 file
Download size
670 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sgd")
Kim, J. L., Airoldi, E., Kuang, Y., Lian, T., Toulis, P., & Tran, D. (2025). sgd: Stochastic Gradient Descent for Scalable Estimation (Version 1.1.3) [Computer software]. https://doi.org/10.32614/CRAN.package.sgd

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sgd version 1.1.3 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy