Releases: mlpack/ensmallen
ensmallen 3.11.0: "Sunny Day"
Released Dec. 16, 2025.
ensmallen 3.10.0: "Unexpected Rain"
Released Sept. 30, 2025.
-
SGD-like optimizers now all divide the step size by the batch size so that step sizes don't need to be tuned in addition to batch sizes. If you require behavior from ensmallen 2, define the
ENS_OLD_SEPARABLE_STEP_BEHAVIORmacro before including ensmallen.hpp (#431). -
Remove deprecated
ParetoFront()andParetoSet()from multi-objective optimizers (#435). Instead, pass objects to theOptimize()function; see the documentation for each multi-objective optimizer for more details. A typical transition will change code like:optimizer.Optimize(objectives, coordinates); arma::cube paretoFront = optimizer.ParetoFront(); arma::cube paretoSet = optimizer.ParetoSet();
to instead gather the Pareto front and set in the call:
arma::cube paretoFront, paretoSet; optimizer.Optimize(objectives, coordinates, paretoFront, paretoSet);
-
Remove deprecated constructor for Active CMA-ES that takes
lowerBoundandupperBound(#435). Instead, pass an instantiatedBoundaryBoxConstraintto the constructor. A typical transition will change code like:ActiveCMAES<FullSelection, BoundaryBoxConstraint> opt(lambda, lowerBound, upperBound, ...);into
ActiveCMAES<FullSelection, BoundaryBoxConstraint> opt(lambda, BoundaryBoxConstraint(lowerBound, upperBound), ...);
-
Add proximal gradient optimizers for L1-constrained and other related problems:
FBS,FISTA, andFASTA(#427). See the documentation for more details. -
The
Lambda()andSigma()functions of theAugLagrangianoptimizer, which could be used to retrieve the Lagrange multipliers and penalty parameter after optimization, are now deprecated (#439). Instead, pass a vector and a double to theOptimize()function directly:augLag.Optimize(function, coordinates, lambda, sigma)
and these will be filled with the final Lagrange multiplier estimates and penalty parameters.
ensmallen 2.22.2: "E-Bike Excitement"
ensmallen 2.22.1: "E-Bike Excitement"
Released Dec. 2, 2024.
- Remove unused variables to fix compiler warnings (#413).
ensmallen 2.22.0: "E-Bike Excitement"
ensmallen 2.21.1: "Bent Antenna"
ensmallen 2.21.0: "Bent Antenna"
ensmallen 2.20.0: "Stripped Bolt Head"
ensmallen 2.19.1: "Eight Ball Deluxe"
Released Feb. 7, 2023.
- Avoid deprecation warnings in Armadillo 11.2+ (#347).
ensmallen 2.19.0: "Eight Ball Deluxe"
Released Apr. 10, 2022.