macOS
brew install mlpacklocal Homebrew formula metadata
sudo port install mlpackMacPorts ports tree · math/mlpack/Portfile · source: api.github.com
brew
Scalable C++ machine learning library. Version 4.8.0 via Homebrew; verified 2026-06-25.
install
brew install mlpacklocal Homebrew formula metadata
sudo port install mlpackMacPorts ports tree · math/mlpack/Portfile · source: api.github.com
sudo apt install libmlpack-devDebian stable package indexes · libmlpack-dev · source: deb.debian.org
sudo dnf install mlpack-binFedora Rawhide package metadata · mlpack-bin · source: dl.fedoraproject.org
overview
Scalable C++ machine learning library
history
mlpack is an open-source C++ machine-learning library whose published history traces back to an original inception in 2007 and a public late-2011 release. The 2013 JMLR paper by Ryan R. Curtin, James R. Cline, N. P. Slagle, William B. March, Parikshit Ram, Nishant A. Mehta, and Alexander G. Gray presented MLPACK as a scalable, multi-platform C++ library with a simple API for new users and high-performance flexibility for expert users.
The project grew into a broader scientific-computing library and community. A 2018 OpenReview workshop paper described mlpack as emphasizing speed and flexibility and implementing a wide variety of machine-learning algorithms. The 2023 JOSS paper for mlpack 4 marked a major technical milestone: a fast, header-only C++ library release with authorship spanning the expanded contributor community.
In practice mlpack is used either as a C++ library, commonly by including `<mlpack.hpp>` and linking against Armadillo, or through command-line programs and bindings for Python, Julia, Go, and R. Its own README describes the project as a machine-learning analogue to LAPACK and as a "swiss army knife" for machine-learning researchers, while the homepage names Armadillo, ensmallen, and cereal as core foundations. In package-manager ecosystems it occupies the intersection of scientific C++ development library and installed algorithm CLI suite, with Homebrew exposing many `mlpack_*` executables for common methods such as k-means, PCA, nearest-neighbor search, random forests, regression, and preprocessing.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mlpack_adaboost | cli | global executable | |
mlpack_approx_kfn | cli | global executable | |
mlpack_bayesian_linear_regression | cli | global executable | |
mlpack_cf | cli | global executable | |
mlpack_dbscan | cli | global executable | |
mlpack_decision_tree | cli | global executable | |
mlpack_det | cli | global executable | |
mlpack_emst | cli | global executable | |
mlpack_fastmks | cli | global executable | |
mlpack_gmm_generate | cli | global executable | |
mlpack_gmm_probability | cli | global executable | |
mlpack_gmm_train | cli | global executable | |
mlpack_hmm_generate | cli | global executable | |
mlpack_hmm_loglik | cli | global executable | |
mlpack_hmm_train | cli | global executable | |
mlpack_hmm_viterbi | cli | global executable | |
mlpack_hoeffding_tree | cli | global executable | |
mlpack_image_converter | cli | global executable | |
mlpack_kde | cli | global executable | |
mlpack_kernel_pca | cli | global executable | |
mlpack_kfn | cli | global executable | |
mlpack_kmeans | cli | global executable | |
mlpack_knn | cli | global executable | |
mlpack_krann | cli | global executable | |
mlpack_lars | cli | global executable | |
mlpack_linear_regression | cli | global executable | |
mlpack_linear_svm | cli | global executable | |
mlpack_lmnn | cli | global executable | |
mlpack_local_coordinate_coding | cli | global executable | |
mlpack_logistic_regression | cli | global executable | |
mlpack_lsh | cli | global executable | |
mlpack_mean_shift | cli | global executable | |
mlpack_nbc | cli | global executable | |
mlpack_nca | cli | global executable | |
mlpack_nmf | cli | global executable | |
mlpack_pca | cli | global executable | |
mlpack_perceptron | cli | global executable | |
mlpack_preprocess_binarize | cli | global executable | |
mlpack_preprocess_describe | cli | global executable | |
mlpack_preprocess_imputer | cli | global executable | |
mlpack_preprocess_one_hot_encoding | cli | global executable | |
mlpack_preprocess_scale | cli | global executable | |
mlpack_preprocess_split | cli | global executable | |
mlpack_radical | cli | global executable | |
mlpack_random_forest | cli | global executable | |
mlpack_range_search | cli | global executable | |
mlpack_softmax_regression | cli | global executable | |
mlpack_sparse_coding | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:mlpack |
|---|---|
| Version | 4.8.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mlpack |
| Homepage | https://www.mlpack.org |
| Repository | https://github.com/mlpack/mlpack |
| Upstream docs | https://www.mlpack.org/doc |
| License | BSD-3-Clause AND MPL-2.0 AND BSL-1.0 AND MIT |
| Source archive | https://mlpack.org/files/mlpack-4.8.0.tar.gz |
| Last updated | 2026-06-25T13:37:55+02:00 |
| Pulse | updated |
| Dependencies | armadillo, cereal, ensmallen |
| Build dependencies | cmake, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mlpack |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libmlpack-dev 4.6.0-1
intuitive, fast, scalable C++ machine learning library (development libs)
sudo apt install libmlpack-devmlpack-bin 4.6.0-1
intuitive, fast, scalable C++ machine learning library (binaries)
sudo apt install mlpack-binmlpack-doc 4.6.0-1
intuitive, fast, scalable C++ machine learning library (documentation)
sudo apt install mlpack-docpython3-mlpack 4.6.0-1
intuitive, fast, scalable C++ machine learning library (Python bindings)
sudo apt install python3-mlpacklibmlpack-dev 4.3.0-2build1
intuitive, fast, scalable C++ machine learning library (development libs)
sudo apt install libmlpack-devmlpack-bin 4.3.0-2build1
intuitive, fast, scalable C++ machine learning library (binaries)
sudo apt install mlpack-binmlpack-doc 4.3.0-2build1
intuitive, fast, scalable C++ machine learning library (documentation)
sudo apt install mlpack-docpython3-mlpack 4.3.0-2build1
intuitive, fast, scalable C++ machine learning library (Python bindings)
sudo apt install python3-mlpackmlpack-bin 4.7.0-3.fc45
Command-line executables for mlpack (machine learning library)
sudo dnf install mlpack-binmlpack-devel 4.7.0-3.fc45
Development headers for mlpack (C++ machine learning library)
sudo dnf install mlpack-develmlpack-licenses 4.7.0-3.fc45
Licenses and information files for mlpack (machine learning library)
sudo dnf install mlpack-licensesmlpack-python3 4.7.0-3.fc45
Python 3 bindings for mlpack (C++ machine learning library)
sudo dnf install mlpack-python3mlpack
sudo port install mlpacksource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.