diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2026-04-20 15:54:58 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2026-04-28 09:43:32 +0200 |
| commit | 3c2fef2a40f3bcb4bd39ce717d6cecb6dca3f771 (patch) | |
| tree | f9801c8bbf1110abb9c506f2eb01292a6938f46c /gnu | |
| parent | 305d755a4d0090a2a9f0869c4a5b794806714dba (diff) | |
gnu: Add r-lbfgs.
* gnu/packages/cran.scm (r-lbfgs): New variable.
Change-Id: Ibcb6730d72419673214c35c3d025b7934653f5b4
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/cran.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 0184b85f68..cbf55df291 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -10273,6 +10273,34 @@ well as additional utilities such as panel and axis annotation functions.") evaluation (NSE) in R.") (license license:gpl3+))) +(define-public r-lbfgs + (package + (name "r-lbfgs") + (version "1.2.1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "lbfgs" version)) + (sha256 + (base32 "04fx9v1dn8rn09h98zxp71zcxidjmhmcv190h7mvbj3pqf3dh2bv")))) + (properties `((upstream-name . "lbfgs"))) + (build-system r-build-system) + (propagated-inputs (list r-rcpp)) + (home-page "https://cran.r-project.org/package=lbfgs") + (synopsis "Limited-memory BFGS optimization") + (description + "This package provides a wrapper built around the @code{libLBFGS} +optimization library by Naoaki Okazaki. The lbfgs package implements both the +Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) and the Orthant-Wise +Quasi-Newton Limited-Memory (OWL-QN) optimization algorithms. The L-BFGS +algorithm solves the problem of minimizing an objective, given its gradient, +by iteratively computing approximations of the inverse Hessian matrix. The +OWL-QN algorithm finds the optimum of an objective plus the L1-norm of the +problem's parameters. The package offers a fast and memory-efficient +implementation of these optimization routines, which is particularly suited +for high-dimensional problems.") + (license license:gpl2+))) + (define-public r-lbfgsb3c (package (name "r-lbfgsb3c") |
