Skip to content

RcppEnsmallen 0.3.11.2.1

Latest

Choose a tag to compare

@coatless coatless released this 24 Nov 18:43
a7c0a8d
  • Upgraded to ensmallen 3.11.2: "Sunny Day" (2026-11-23)
    • Fix incorrect child generation computation for NSGA-II
      (#461).
    • Better handling of OpenMP/pthreads linking for non-Linux systems
      (#461).
    • Better output from ProgressBar when optimization completes in the middle of
      an epoch (#459).
    • Fix convergence of L1Constraint proximal steps on systems with
      extended-precision floating point
      (#465).
    • Fix width setting for ProgressBar callback
      (#467).
  • New logistic regression examples
    (#5):
    • logistic_reg_lbfgs() fits the model with L_BFGS and takes an optional
      ridge penalty.
    • logistic_reg_adam() fits the same model with mini-batch Adam.
    • logistic_reg_lbfgs_path() records each step L_BFGS takes through a
      callback.
    • The standalone source is installed at
      system.file("examples", "logistic-regression.cpp", package = "RcppEnsmallen").
  • New lad_reg_pso() fits least absolute deviations regression with
    LBestPSO, a gradient-free optimizer.
  • New nnls_auglag() fits non-negative least squares with AugLagrangian, a
    constrained optimizer.
  • New vignettes work through each example:
    • "Solving Logistic Regression using Numeric Optimization".
    • "Watching an Optimizer Run with Callbacks".
    • "Gradient-Free Optimization with Least Absolute Deviations", compared
      against quantreg::rq().
    • "Constrained Optimization with Non-Negative Least Squares", compared
      against nnls::nnls().
  • New tinytest suite covers the example functions.
  • New package logo, shown in the README.