English

mlpack 4: a fast, header-only C++ machine learning library

Mathematical Software 2023-02-03 v1

Abstract

For over 15 years, the mlpack machine learning library has served as a "swiss army knife" for C++-based machine learning. Its efficient implementations of common and cutting-edge machine learning algorithms have been used in a wide variety of scientific and industrial applications. This paper overviews mlpack 4, a significant upgrade over its predecessor. The library has been significantly refactored and redesigned to facilitate an easier prototyping-to-deployment pipeline, including bindings to other languages (Python, Julia, R, Go, and the command line) that allow prototyping to be seamlessly performed in environments other than C++. mlpack is open-source software, distributed under the permissive 3-clause BSD license; it can be obtained at https://mlpack.org

Keywords

Cite

@article{arxiv.2302.00820,
  title  = {mlpack 4: a fast, header-only C++ machine learning library},
  author = {Ryan R. Curtin and Marcus Edel and Omar Shrit and Shubham Agrawal and Suryoday Basak and James J. Balamuta and Ryan Birmingham and Kartik Dutt and Dirk Eddelbuettel and Rishabh Garg and Shikhar Jaiswal and Aakash Kaushik and Sangyeon Kim and Anjishnu Mukherjee and Nanubala Gnana Sai and Nippun Sharma and Yashwant Singh Parihar and Roshan Swain and Conrad Sanderson},
  journal= {arXiv preprint arXiv:2302.00820},
  year   = {2023}
}
R2 v1 2026-06-28T08:29:46.618Z