Mlpack

Latest version: v4.5.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

4.1.0

_2023-04-26_

* Adapt HardTanH layer (3454).

* Adapt Softmin layer for new neural network API (3437).

* Adapt PReLU layer for new neural network API (3420).

* Add CF decomposition methods: `QUIC_SVDPolicy` and `BlockKrylovSVDPolicy`
(3413, 3404).

* Update outdated code in tutorials (3398, 3401).

* Bugfix for non-square convolution kernels (3376).

* Fix a few missing includes in `<mlpack.hpp>` (3374).

* Fix DBSCAN handling of non-core points (3346).

* Avoid deprecation warnings in Armadillo 11.4.4+ (3405).

* Issue runtime error when serialization of neural networks is attempted but
`MLPACK_ENABLE_ANN_SERIALIZATION` is not defined (3451).

4.0.1

_2022-12-23_

* Fix mapping of categorical data for Julia bindings (3305).

* Bugfix: catch all exceptions when running bindings from Julia, instead of
crashing (3304).

* Various Python configuration fixes for Windows and OS X (3312, 3313,
3311, 3309, 3308, 3297, 3302).

* Optimize and strip compiled Python bindings when possible, resulting in
significant size minimization (3310).

* The `/std:c++17` and `/Zc:__cplusplus` options are now required when using
Visual Studio (3318). Documentation and compile-time checks added.

* Set `BUILD_TESTS` to `OFF` by default. If you want to build tests, like
`mlpack_test`, manually set `BUILD_TESTS` to `ON` in your CMake
configuration step (3316).

* Fix handling of transposed matrix parameters in Python, Julia, R, and Go
bindings (3327).

* Comment out definition of ARMA_NO DEBUG. This allows various Armadillo
run-time checks such as non-conforming matrices and out-of-bounds
element access. In turn this helps tracking down bugs and incorrect
usage (3322).

4.0.0

_2022-10-23_

* Bump C++ standard requirement to C++14 (3233).

* Fix `Perceptron` to work with cross-validation framework (3190).

* Migrate from boost tests to Catch2 framework (2523), (2584).

* Bump minimum armadillo version from 8.400 to 9.800 (3043), (3048).

* Adding a copy constructor in the Convolution layer (3067).

* Replace `boost::spirit` parser by a local efficient implementation (2942).

* Disable correctly the autodownloader + fix tests stability (3076).

* Replace `boost::any` with `core::v2::any` or `std::any` if available (3006).

* Remove old non used Boost headers (3005).

* Replace `boost::enable_if` with `std::enable_if` (2998).

* Replace `boost::is_same` with `std::is_same` (2993).

* Remove invalid option for emsmallen and STB (2960).

* Check for armadillo dependencies before downloading armadillo (2954).

* Disable the usage of autodownloader by default (2953).

* Install dependencies downloaded with the autodownloader (2952).

* Download older Boost if the compiler is old (2940).

* Add support for embedded systems (2531).

* Build mlpack executable statically if the library is statically linked (2931).

* Fix cover tree loop bug on embedded arm systems (2869).

* Fix a LAPACK bug in `FindArmadillo.cmake` (2929).

* Add an autodownloader to get mlpack dependencies (2927).

* Remove Coverage files and configurations from CMakeLists (2866).

* Added `Multi Label Soft Margin Loss` loss function for neural networks
(2345).

* Added Decision Tree Regressor (2905). It can be used using the class
`mlpack::tree::DecisionTreeRegressor`. It is accessible only though C++.

* Added dict-style inspection of mlpack models in python bindings (2868).

* Added Extra Trees Algorithm (2883). Currently, it can be used using the
class `mlpack::tree::ExtraTrees`, but only through C++.

* Add Flatten T Swish activation function (`flatten-t-swish.hpp`)

* Added warm start feature to Random Forest (2881); this feature is
accessible from mlpack's bindings to different languages.

* Added Pixel Shuffle layer (2563).

* Add "check_input_matrices" option to python bindings that checks
for NaN and inf values in all the input matrices (2787).

* Add Adjusted R squared functionality to R2Score::Evaluate (2624).

* Disabled all the bindings by default in CMake (2782).

* Added an implementation to Stratify Data (2671).

* Add `BUILD_DOCS` CMake option to control whether Doxygen documentation is
built (default ON) (2730).

* Add Triplet Margin Loss function (2762).

* Add finalizers to Julia binding model types to fix memory handling (2756).

* HMM: add functions to calculate likelihood for data stream with/without
pre-calculated emission probability (2142).

* Replace Boost serialization library with Cereal (2458).

* Add `PYTHON_INSTALL_PREFIX` CMake option to specify installation root for
Python bindings (2797).

* Removed `boost::visitor` from model classes for `knn`, `kfn`, `cf`,
`range_search`, `krann`, and `kde` bindings (2803).

* Add k-means++ initialization strategy (2813).

* `NegativeLogLikelihood<>` now expects classes in the range `0` to
`numClasses - 1` (2534).

* Add `Lambda1()`, `Lambda2()`, `UseCholesky()`, and `Tolerance()` members to
`LARS` so parameters for training can be modified (2861).

* Remove unused `ElemType` template parameter from `DecisionTree` and
`RandomForest` (2874).

* Fix Python binding build when the CMake variable `USE_OPENMP` is set to
`OFF` (2884).

* The `mlpack_test` target is no longer built as part of `make all`. Use
`make mlpack_test` to build the tests.

* Fixes to `HoeffdingTree`: ensure that training still works when empty
constructor is used (2964).

* Fix Julia model serialization bug (2970).

* Fix `LoadCSV()` to use pre-populated `DatasetInfo` objects (2980).

* Add `probabilities` option to softmax regression binding, to get class
probabilities for test points (3001).

* Fix thread safety issues in mlpack bindings to other languages (2995).

* Fix double-free of model pointers in R bindings (3034).

* Fix Julia, Python, R, and Go handling of categorical data for
`decision_tree()` and `hoeffding_tree()` (2971).

* Depend on `pkgbuild` for R bindings (3081).

* Replaced Numpy deprecated code in Python bindings (3126).

3.4.2

_2020-10-26_

* Added Mean Absolute Percentage Error.

* Added Softmin activation function as layer in ann/layer.

* Fix spurious ARMA_64BIT_WORD compilation warnings on 32-bit systems (2665).

3.4.1

_2020-09-07_

* Fix incorrect parsing of required matrix/model parameters for command-line
bindings (2600).

* Add manual type specification support to `data::Load()` and `data::Save()`
(2084, 2135, 2602).

* Remove use of internal Armadillo functionality (2596, 2601, 2602).

3.4.0

_2020-09-01_

* Issue warnings when metrics produce NaNs in KFoldCV (2595).

* Added bindings for _R_ during Google Summer of Code (2556).

* Added common striptype function for all bindings (2556).

* Refactored common utility function of bindings to bindings/util (2556).

* Renamed InformationGain to HoeffdingInformationGain in
methods/hoeffding_trees/information_gain.hpp (2556).

* Added macro for changing stream of printing and warnings/errors (2556).

* Added Spatial Dropout layer (2564).

* Force CMake to show error when it didn't find Python/modules (2568).

* Refactor `ProgramInfo()` to separate out all the different
information (2558).

* Add bindings for one-hot encoding (2325).

* Added Soft Actor-Critic to RL methods (2487).

* Added Categorical DQN to q_networks (2454).

* Added N-step DQN to q_networks (2461).

* Add Silhoutte Score metric and Pairwise Distances (2406).

* Add Go bindings for some missed models (2460).

* Replace boost program_options dependency with CLI11 (2459).

* Additional functionality for the ARFF loader (2486); use case sensitive
categories (2516).

* Add `bayesian_linear_regression` binding for the command-line, Python,
Julia, and Go. Also called "Bayesian Ridge", this is equivalent to a
version of linear regression where the regularization parameter is
automatically tuned (2030).

* Fix defeatist search for spill tree traversals (2566, 1269).

* Fix incremental training of logistic regression models (2560).

* Change default configuration of `BUILD_PYTHON_BINDINGS` to `OFF` (2575).

Page 2 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.