stochQN

Stochastic Limited Memory Quasi-Newton Optimizers

CRAN Package

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), SQN (stochastic quasi-Newton) (Byrd, R.H., Hansen, S.L., Nocedal, J. and Singer, Y., 2016), adaQN (adaptive quasi-Newton) (Keskar, N.S., Berahas, A.S., 2016). 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++.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 237 times in the last 30 days. Enough downloads to make a small wave in the niche community. The curiosity is spreading! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 3 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsFeb 9, 2025
0 downloadsFeb 10, 2025
0 downloadsFeb 11, 2025
0 downloadsFeb 12, 2025
7 downloadsFeb 13, 2025
15 downloadsFeb 14, 2025
2 downloadsFeb 15, 2025
5 downloadsFeb 16, 2025
10 downloadsFeb 17, 2025
4 downloadsFeb 18, 2025
3 downloadsFeb 19, 2025
24 downloadsFeb 20, 2025
15 downloadsFeb 21, 2025
4 downloadsFeb 22, 2025
16 downloadsFeb 23, 2025
4 downloadsFeb 24, 2025
1 downloadsFeb 25, 2025
13 downloadsFeb 26, 2025
8 downloadsFeb 27, 2025
2 downloadsFeb 28, 2025
11 downloadsMar 1, 2025
10 downloadsMar 2, 2025
3 downloadsMar 3, 2025
16 downloadsMar 4, 2025
10 downloadsMar 5, 2025
3 downloadsMar 6, 2025
5 downloadsMar 7, 2025
10 downloadsMar 8, 2025
0 downloadsMar 9, 2025
2 downloadsMar 10, 2025
7 downloadsMar 11, 2025
13 downloadsMar 12, 2025
11 downloadsMar 13, 2025
3 downloadsMar 14, 2025
0 downloadsMar 15, 2025
0
24

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 3,266 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Jul 21, 2024 with 73 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries