{
  "_id": "6ae873569ceaa78f2009bb4a",
  "Package": "stochQN",
  "Type": "Package",
  "Title": "Stochastic Limited Memory Quasi-Newton Optimizers",
  "Version": "0.1.2-1",
  "Author": "David Cortes",
  "Maintainer": "David Cortes <david.cortes.rivera@gmail.com>",
  "URL": "https://github.com/david-cortes/stochQN",
  "BugReports": "https://github.com/david-cortes/stochQN/issues",
  "Description": "Implementations of stochastic, limited-memory quasi-Newton\noptimizers, similar in spirit to the LBFGS (Limited-memory\nBroyden-Fletcher-Goldfarb-Shanno) algorithm, for smooth\nstochastic optimization. Implements the following methods:\noLBFGS (online LBFGS) (Schraudolph, N.N., Yu, J. and Guenter,\nS., 2007\n<http://proceedings.mlr.press/v2/schraudolph07a.html>), SQN\n(stochastic quasi-Newton) (Byrd, R.H., Hansen, S.L., Nocedal,\nJ. and Singer, Y., 2016 <arXiv:1401.7020>), adaQN (adaptive\nquasi-Newton) (Keskar, N.S., Berahas, A.S., 2016,\n<arXiv:1511.01169>). Provides functions for easily creating R\nobjects with partial_fit/predict methods from some given\nobjective/gradient/predict functions. Includes an example\nstochastic logistic regression using these optimizers. Provides\nheader files and registered C routines for using it directly\nfrom C/C++.",
  "License": "BSD_2_clause + file LICENSE",
  "NeedsCompilation": "yes",
  "RoxygenNote": "6.1.1",
  "Packaged": {
    "Date": "2026-11-02 11:21:41 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2021-09-26 03:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/stochQN",
  "RemoteRef": "HEAD",
  "RemoteSha": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
  "_user": "cran",
  "_type": "src",
  "_file": "stochQN_0.1.2-1.tar.gz",
  "_fileid": "https://r2.ropensci.org/89ef8ced42dfc31cd71c1eac1caf9089f7460f0d9cdbc2915904b02bc1518711",
  "_filesize": 214521,
  "_sha256": "89ef8ced42dfc31cd71c1eac1caf9089f7460f0d9cdbc2915904b02bc1518711",
  "_expires": "2027-02-10T11:26:12.000Z",
  "_created": "2026-11-02T11:21:41.000Z",
  "_published": "2026-11-02T11:26:14.342Z",
  "_upstream": "https://github.com/cran/stochQN",
  "_status": "success",
  "_maintainer": {
    "name": "David Cortes",
    "email": "david.cortes.rivera@gmail.com",
    "login": "david-cortes",
    "description": "",
    "uuid": 11860098
  },
  "_jobs": [
    {
      "job": 125246686284,
      "time": 67,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13136851451"
    },
    {
      "job": 125246686337,
      "time": 96,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13135779494"
    },
    {
      "job": 125246686456,
      "time": 72,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13137245087"
    },
    {
      "job": 125246686468,
      "time": 91,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13136905973"
    },
    {
      "job": 125245568066,
      "time": 147,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13135014738"
    },
    {
      "job": 125246686352,
      "time": 75,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13136512592"
    },
    {
      "job": 125246686416,
      "time": 194,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13135634776"
    },
    {
      "job": 125246686377,
      "time": 91,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13135559643"
    },
    {
      "job": 125246686400,
      "time": 229,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13135739331"
    },
    {
      "job": 125246686331,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13136856133"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000",
  "_commit": {
    "id": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
    "author": "David Cortes <david.cortes.rivera@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.2-1\n",
    "time": 1632625802
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "david-cortes",
      "count": 4,
      "uuid": 11860098
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 261,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/stochQN"
  },
  "_devurl": "https://github.com/david-cortes/stochqn",
  "_searchresults": 22,
  "_topics": [
    "openblas",
    "openmp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "stochQN/include",
        "hash": "d64663012af3df44"
      },
      {
        "key": "stochQN::dealloc_SQN()",
        "hash": "e8ba072a176d4441"
      },
      {
        "key": "stochQN::dealloc_adaQN()",
        "hash": "875267040b150fb0"
      },
      {
        "key": "stochQN::dealloc_oLBFGS()",
        "hash": "69c57fe08a194f4f"
      },
      {
        "key": "stochQN::initialize_SQN()",
        "hash": "215f2156e2aca707"
      },
      {
        "key": "stochQN::initialize_adaQN()",
        "hash": "f11c8b44318b6f30"
      },
      {
        "key": "stochQN::initialize_oLBFGS()",
        "hash": "ee6a8a40992b402b"
      },
      {
        "key": "stochQN::run_SQN()",
        "hash": "419684e41588b8c8"
      },
      {
        "key": "stochQN::run_adaQN()",
        "hash": "53772e53629fd2b4"
      },
      {
        "key": "stochQN::run_oLBFGS()",
        "hash": "7368117bcaffe349"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/stochQN.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/david-cortes/stochqn",
  "_realowner": "david-cortes",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-08-29"
    },
    {
      "version": "0.1.1",
      "date": "2019-08-30"
    },
    {
      "version": "0.1.2",
      "date": "2019-09-05"
    },
    {
      "version": "0.1.2-1",
      "date": "2021-09-26"
    }
  ],
  "_exports": [
    "adaQN",
    "adaQN_free",
    "get_curr_x",
    "get_iteration_number",
    "oLBFGS",
    "oLBFGS_free",
    "partial_fit",
    "partial_fit_logistic",
    "run_adaQN_free",
    "run_oLBFGS_free",
    "run_SQN_free",
    "SQN",
    "SQN_free",
    "stochastic.logistic.regression",
    "update_fun",
    "update_gradient",
    "update_hess_vec"
  ],
  "_help": [
    {
      "page": "adaQN",
      "title": "adaQN guided optimizer",
      "topics": [
        "adaQN"
      ]
    },
    {
      "page": "adaQN_free",
      "title": "adaQN Free-Mode Optimizer",
      "topics": [
        "adaQN_free"
      ]
    },
    {
      "page": "coef.stoch_logistic",
      "title": "Retrieve fitted coefficients from stochastic logistic regression object",
      "topics": [
        "coef.stoch_logistic"
      ]
    },
    {
      "page": "get_curr_x",
      "title": "Get current values of the optimization variables",
      "topics": [
        "get_curr_x"
      ]
    },
    {
      "page": "get_iteration_number",
      "title": "Get current iteration number from the optimizer object",
      "topics": [
        "get_iteration_number"
      ]
    },
    {
      "page": "oLBFGS",
      "title": "oLBFGS guided optimizer",
      "topics": [
        "oLBFGS"
      ]
    },
    {
      "page": "oLBFGS_free",
      "title": "oLBFGS Free-Mode Optimizer",
      "topics": [
        "oLBFGS_free"
      ]
    },
    {
      "page": "partial_fit",
      "title": "Partial fit stochastic model to new data",
      "topics": [
        "partial_fit"
      ]
    },
    {
      "page": "partial_fit_logistic",
      "title": "Update stochastic logistic regression model with new batch of data",
      "topics": [
        "partial_fit_logistic"
      ]
    },
    {
      "page": "predict.stoch_logistic",
      "title": "Prediction function for stochastic logistic regression",
      "topics": [
        "predict.stoch_logistic"
      ]
    },
    {
      "page": "predict.stochQN_guided",
      "title": "Predict function for stochastic optimizer object",
      "topics": [
        "predict.stochQN_guided"
      ]
    },
    {
      "page": "print.adaQN",
      "title": "Print summary info about adaQN guided-mode object",
      "topics": [
        "print.adaQN"
      ]
    },
    {
      "page": "print.adaQN_free",
      "title": "Print summary info about adaQN free-mode object",
      "topics": [
        "print.adaQN_free"
      ]
    },
    {
      "page": "print.oLBFGS",
      "title": "Print summary info about oLBFGS guided-mode object",
      "topics": [
        "print.oLBFGS"
      ]
    },
    {
      "page": "print.oLBFGS_free",
      "title": "Print summary info about oLBFGS free-mode object",
      "topics": [
        "print.oLBFGS_free"
      ]
    },
    {
      "page": "print.SQN",
      "title": "Print summary info about SQN guided-mode object",
      "topics": [
        "print.SQN"
      ]
    },
    {
      "page": "print.SQN_free",
      "title": "Print summary info about SQN free-mode object",
      "topics": [
        "print.SQN_free"
      ]
    },
    {
      "page": "print.stoch_logistic",
      "title": "Print general info about stochastic logistic regression object",
      "topics": [
        "print.stoch_logistic"
      ]
    },
    {
      "page": "run_adaQN_free",
      "title": "Run adaQN optimizer in free-mode",
      "topics": [
        "run_adaQN_free"
      ]
    },
    {
      "page": "run_oLBFGS_free",
      "title": "Run oLBFGS optimizer in free-mode",
      "topics": [
        "run_oLBFGS_free"
      ]
    },
    {
      "page": "run_SQN_free",
      "title": "Run SQN optimizer in free-mode",
      "topics": [
        "run_SQN_free"
      ]
    },
    {
      "page": "SQN",
      "title": "SQN guided optimizer",
      "topics": [
        "SQN"
      ]
    },
    {
      "page": "SQN_free",
      "title": "SQN Free-Mode Optimizer",
      "topics": [
        "SQN_free"
      ]
    },
    {
      "page": "stochastic.logistic.regression",
      "title": "Stochastic Logistic Regression",
      "topics": [
        "stochastic.logistic.regression"
      ]
    },
    {
      "page": "summary.stoch_logistic",
      "title": "Print general info about stochastic logistic regression object",
      "topics": [
        "summary.stoch_logistic"
      ]
    },
    {
      "page": "update_fun",
      "title": "Update objective function value (adaQN)",
      "topics": [
        "update_fun"
      ]
    },
    {
      "page": "update_gradient",
      "title": "Update gradient (oLBFGS, SQN, adaQN)",
      "topics": [
        "update_gradient"
      ]
    },
    {
      "page": "update_hess_vec",
      "title": "Update Hessian-vector product (SQN)",
      "topics": [
        "update_hess_vec"
      ]
    }
  ],
  "_rundeps": [],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 1.3424226808222062,
  "_indexed": false,
  "_nocasepkg": "stochqn",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:23:08.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/185c9b6b8d3d33b76d105a700c00a3eabd03d765eda0a30f98dd88ee6183f002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:23:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/b5a3333f1fb3d13935129825c9d2dfec2feae3d0e8a8b544dd1d0003b813d313",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:23:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/e1b1e44a5ed2c6fc4309820cabc90626f839a25cb083f4d5a1515f6fc5ced7a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:23:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/70bd2685783750be1c23df73eb8a0cb738c1c52adc022886358d828bb4e32650",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:23:13.000Z",
      "arch": "emscripten",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/4b25a48d3d6eb78de226aa12fa47d56e70a8b0e12de842fb9b758842f8a1e193",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:24:58.000Z",
      "arch": "aarch64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/29eb887dbf4632addb22f4d7b419af212915eccb603adbc781ac4732e0119990",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:22:45.000Z",
      "arch": "x86_64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/8919c15e7627a0a42721728b40dd990f6b822ddecf5807b023f20b9b24ec65a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:25:33.000Z",
      "arch": "aarch64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/56abcb9aba49093d08b11d154fdb0277074479474a87e69c0b33bea48342e343",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.2-1",
      "date": "2026-11-02T11:23:10.000Z",
      "arch": "x86_64",
      "commit": "c595f81ca70ab26bf44263d8664b7ef4bf0084fa",
      "fileid": "https://r2.ropensci.org/ef4ccc78446dc02f5cb8b9c595547f90b830de04f6aed5102f74a96d34108c9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41435858000"
    }
  ]
}