stochQN: Stochastic Limited Memory Quasi-Newton Optimizers

Implementations of stochastic, limited-memory quasi-Newton optimizers, similar in spirit to the LBFGS (Limited-memory Broyden-Fletcher-Goldfarb-Shanno) algorithm, for smooth stochastic optimization. Implements the following methods: oLBFGS (online LBFGS) (Schraudolph, N.N., Yu, J. and Guenter, S., 2007 <http://proceedings.mlr.press/v2/schraudolph07a.html>), SQN (stochastic quasi-Newton) (Byrd, R.H., Hansen, S.L., Nocedal, J. and Singer, Y., 2016 <arXiv:1401.7020>), adaQN (adaptive quasi-Newton) (Keskar, N.S., Berahas, A.S., 2016, <arXiv:1511.01169>). Provides functions for easily creating R objects with partial_fit/predict methods from some given objective/gradient/predict functions. Includes an example stochastic logistic regression using these optimizers. Provides header files and registered C routines for using it directly from C/C++.

Getting started

Package details

AuthorDavid Cortes
MaintainerDavid Cortes <david.cortes.rivera@gmail.com>
LicenseBSD_2_clause + file LICENSE
Version0.1.2-1
URL https://github.com/david-cortes/stochQN
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("stochQN")

Try the stochQN package in your browser

Any scripts or data that you put into this service are public.

stochQN documentation built on Sept. 26, 2021, 9:07 a.m.