Published February 1, 2023 | Journal article | Version v1 | https://doi.org/10.21105/joss.05026

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

Files

joss.05026.pdf

Files (6.1 MB)

Name Size Download all
md5:d141a41ff77417e6ee9552ee62cfe87c
227.4 kB Preview Download
md5:157023d7545992f2928ecadb191cc7dd
5.9 MB Download

Additional details

Dates

Issued
February 1, 2023

References

  1. Curtin, R. R., Edel, M., Shrit, O., Agrawal, S., Basak, S., Balamuta, J. J., Birmingham, R., Dutt, K., Eddelbuettel, D., Garg, R., Jaiswal, S., Kaushik, A., Kim, S., Mukherjee, A., Sai, N. G., Sharma, N., Parihar, Y. S., Swain, R., & Sanderson, C. (2023). mlpack 4: a fast, header-only C++ machine learning library (Version 4.0.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.7587252
  2. Curtin, R. R., Cline, J. R., Slagle, N. P., March, W. B., Ram, P., Mehta, N. A., & Gray, A. G. (2013). MLPACK: A scalable C++ machine learning library. The Journal of Machine Learning Research, 14(1), 801–805.
  3. R. Curtin, R., Edel, M., Lozhnikov, M., Mentekidis, Y., Ghaisas, S., & Zhang, S. (2018). mlpack 3: a fast, flexible machine learning library. Journal of Open Source Software, 3(26), 726. https://doi.org/10.21105/joss.00726
  4. Jordan, M. I., & Mitchell, T. M. (2015). Machine learning: Trends, perspectives, and prospects. Science, 349(6245), 255–260. https://doi.org/10.1126/science.aaa8415
  5. Carleo, G., Cirac, I., Cranmer, K., Daudet, L., Schuld, M., Tishby, N., Vogt-Maranto, L., & Zdeborová, L. (2019). Machine learning and the physical sciences. Reviews of Modern Physics, 91(4), Article 045002. https://doi.org/10.1103/revmodphys.91.045002
  6. Paleyes, A., Urma, R.-G., & Lawrence, N. D. (2022). Challenges in Deploying Machine Learning: A Survey of Case Studies. ACM Computing Surveys, 55(6), 1–29. https://doi.org/10.1145/3533378
  7. Lavin, A., Lee, C., Visnjic, A., Ganju, S., Newman, D., Ganguli, S., Lange, D., Baydin, A. G., Xing, E., Gibson, A., Sharma, A., Gal, Y., & Parr, J. (2021). Technology Readiness Levels for Machine Learning Systems [Preprint]. In Research Square. Springer Science and Business Media LLC. https://doi.org/10.21203/rs.3.rs-133138/v1
  8. Fischer, L., Ehrlinger, L., Geist, V., Ramler, R., Sobiezky, F., Zellinger, W., Brunner, D., Kumar, M., & Moser, B. (2020). AI System Engineering—Key Challenges and Lessons Learned. Machine Learning and Knowledge Extraction, 3(1), 56–83. https://doi.org/10.3390/make3010004
  9. mlpack community. (2021). mlpack: A vision for an efficient prototype-to-deployment machine learning library. https://www.mlpack.org/papers/vision.pdf
  10. Curtin, R. R., & Gardner, A. B. (2016). Fast Approximate Furthest Neighbors with Data-Dependent Candidate Selection. In Lecture Notes in Computer Science (pp. 221–235). Springer International Publishing. https://doi.org/10.1007/978-3-319-46759-7_17
  11. Curtin, R. R. (2017). A Dual-Tree Algorithm for Fast k -means Clustering With Large k. In Proceedings of the 2017 SIAM International Conference on Data Mining (pp. 300–308). Society for Industrial and Applied Mathematics. https://doi.org/10.1137/1.9781611974973.34
  12. Lee, D., & Gray, A. G. (2008). Fast high-dimensional kernel summations using the Monte Carlo Multipole Method. Advances in Neural Information Processing Systems, 21, 929–936.
  13. Curtin, R. R., & Ram, P. (2014). Dual‐tree fast exact max‐kernel search. Statistical Analysis and Data Mining: The ASA Data Science Journal, 7(4), 229–253. https://doi.org/10.1002/sam.11218
  14. Fang, D., & Chau, D. H. (2016). M3: Scaling up machine learning via memory mapping. International Conference on Management of Data, 2249–2250.
  15. Edel, M., Soni, A., & Curtin, R. R. (2014). An automatic benchmarking system. NIPS Workshop on Software Engineering for Machine Learning.
  16. Sanderson, C., & Curtin, R. (2016). Armadillo: a template-based C++ library for linear algebra. The Journal of Open Source Software, 1(2), 26. https://doi.org/10.21105/joss.00026
  17. Curtin, R. R., Edel, M., Prabhu, R. G., Basak, S., Lou, Z., & Sanderson, C. (2021). The ensmallen library for flexible numerical optimization. Journal of Machine Learning Research, 22, 1–6.
  18. Kluyver Thomas, Ragan-Kelley Benjamin, Pérez Fernando, Granger Brian, Bussonnier Matthias, Frederic Jonathan, Kelley Kyle, Hamrick Jessica, Grout Jason, Corlay Sylvain, Ivanov Paul, Avila Damián, Abdalla Safia, Willing Carol, & Jupyter Development Team. (2016). Jupyter Notebooks – a publishing format for reproducible computational workflows. In Positioning and Power in Academic Publishing: Players, Agents and Agendas. IOS Press. https://doi.org/10.3233/978-1-61499-649-1-87
  19. Bezanson, J., Edelman, A., Karpinski, S., & Shah, V. B. (2017). Julia: A Fresh Approach to Numerical Computing. SIAM Review, 59(1), 65–98. https://doi.org/10.1137/141000671
  20. Pike, R. (2012). Go at Google: Language design in the service of software engineering. Proceedings of the 3rd Annual Conference on Systems, Programming, and Applications: Software for Humanity, 5–6.
  21. R Core Team. (2022). R: A language and environment for statistical computing. R Foundation for Statistical Computing. https://www.r-project.org
  22. Singh Parihar, Y., Curtin, R. R., Eddelbuettel, D., Balamuta, J., & others. (2022). mlpack: "Rcpp" integration for the "mlpack" library. https://cran.r-project.org/package=mlpack
  23. Johnson, J., Douze, M., & Jegou, H. (2021). Billion-Scale Similarity Search with GPUs. IEEE Transactions on Big Data, 7(3), 535–547. https://doi.org/10.1109/tbdata.2019.2921572
  24. FAST APPROXIMATE NEAREST NEIGHBORS WITH AUTOMATIC ALGORITHM CONFIGURATION. (2009). FAST APPROXIMATE NEAREST NEIGHBORS WITH AUTOMATIC ALGORITHM CONFIGURATION. Proceedings of the Fourth International Conference on Computer Vision Theory and Applications, 331–340. https://doi.org/10.5220/0001787803310340
  25. King, D. E. (2009). Dlib-ml: A machine learning toolkit. Journal of Machine Learning Research, 10, 1755–1758.

1–25 of 26

Citations

  1. https://doi.org/10.1007/978-3-032-29912-3_17
  2. https://doi.org/10.1007/978-981-95-9846-5_14
  3. Islam, A., Chakraborty, S., & Ghose, M. (2026). ReMEC: Reliability-aware scheduling of mixed-criticality IoT tasks in DVFS-enabled Multi-tier Edge Computing. Future Generation Computer Systems, 175, 108074. https://doi.org/10.1016/j.future.2025.108074
  4. Shakouri, B., Murthy, S., De Clippeleir, H., Lesnik, K., & Massoudieh, A. (2026). Surrogate modeling of ASM1 using feedforward and LSTM neural networks. Journal of Water Process Engineering, 81, Article 109246. https://doi.org/10.1016/j.jwpe.2025.109246
  5. Strojny, T., & Beręsewicz, M. (2026). BlockingPy: approximate nearest neighbours for blocking of records for entity resolution. SoftwareX, 34, 102583. https://doi.org/10.1016/j.softx.2026.102583
  6. Hanisch, M. D., Hetényi, B., & Wootton, J. R. (2026). Soft information decoding with superconducting qubits. APS Open Science, 1. https://doi.org/10.1103/y9fh-4x6n
  7. Harzevili, N. S., Shin, J., Uddin, G., Yang, J., Wang, J., Wang, S., Jiang, Z. M., & Nagappan, N. (2026). Demystifying Checker Bugs in Deep Learning Libraries. 2026 IEEE International Conference on Software Maintenance and Evolution (ICSME), 181–193. https://doi.org/10.1109/icsme67971.2026.00025
  8. https://doi.org/10.21105/joss.09737
  9. Lu, F., Curtin, R. R., Raff, E., Ferraro, F., & Holt, J. (2025). Optimizing the Optimal Weighted Average: Efficient Distributed Sparse Classification. In Lecture Notes in Computer Science (pp. 147–163). Springer Nature Switzerland. https://doi.org/10.1007/978-3-032-06096-9_9
  10. Turan, O. T., Tax, D. M. J., Viering, T. J., & Loog, M. (2025). Learning Learning Curves. Pattern Analysis and Applications, 28(1). https://doi.org/10.1007/s10044-024-01394-6
  11. Islam, A., & Ghose, M. (2025). GSAgri: Green and Secure Agriculture through efficient task offloading and scheduling under IoT-enabled energy-harvesting multi-access edge computing framework. Expert Systems with Applications, 284, 127814. https://doi.org/10.1016/j.eswa.2025.127814
  12. Sanderson, C., & Curtin, R. (2025). Armadillo: an Efficient Framework for Numerical Linear Algebra. 2025 17th International Conference on Computer and Automation Engineering (ICCAE), 303–307. https://doi.org/10.1109/iccae64891.2025.10980539
  13. Duţu, T.-Ş., Niţu, R.-G., Stăniloiu, C.-E., & Alexandrescu, A. (2025). Increasing Language Performance Through Template Runtime Libraries. 2025 24th RoEduNet Conference: Networking in Education and Research (RoEduNet), 1–6. https://doi.org/10.1109/roedunet68395.2025.11208392
  14. Guardieiro, V., de Oliveira, F. I., Doraiswamy, H., Nonato, L. G., & Silva, C. (2025). TopoMap++: A Faster and More Space Efficient Technique to Compute Projections with Topological Guarantees. IEEE Transactions on Visualization and Computer Graphics, 31(1), 229–239. https://doi.org/10.1109/tvcg.2024.3456365
  15. Strojny, T., & Beręsewicz, M. (2025). BlockingPy: approximate nearest neighbours for blocking of records for entity resolution [Preprint]. Elsevier BV. https://doi.org/10.2139/ssrn.5644279
  16. Dusil, J., Husák, M., & Sadlek, L. (2025). Fast and Configurable Detection of Device Dependencies in Network Traffic. 2025 21st International Conference on Network and Service Management (CNSM), 1–6. https://doi.org/10.23919/cnsm67658.2025.11297543
  17. Janavičiūtė, A., Liutkevičius, A., & Morkevičius, N. (2025). Toward the Implementation of Text-Based Web Page Classification and Filtering Solution for Low-Resource Home Routers Using a Machine Learning Approach. Electronics, 14(16), 3280. https://doi.org/10.3390/electronics14163280
  18. Minor, Q. E. (2025). High Significance Detection of the Dark Substructure in Gravitational Lens SDSS J0946+1006 by Image Pixel Supersampling. The Astrophysical Journal, 981(1), 2. https://doi.org/10.3847/1538-4357/adb1b6
  19. Pham, H., Lombroso, A. P., Cevik, E. C., Taylor, H. S., & O’Donnell, K. J. (2025). slideimp: Efficient Imputation for DNA Methylation Data [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.64898/2025.12.15.694394
  20. Harwood, B., Dezfouli, A., Chades, I., & Sanderson, C. (2024). Approximate Nearest Neighbour Search on Dynamic Datasets: An Investigation. In Lecture Notes in Computer Science (pp. 95–106). Springer Nature Singapore. https://doi.org/10.1007/978-981-96-0351-0_8
  21. Almansoori, M. K. M., Meszaros, A., & Telek, M. (2024). Fast and Memory-Efficient Approximate Minimum Spanning Tree Generation for Large Datasets. Arabian Journal for Science and Engineering, 50(2), 1233–1246. https://doi.org/10.1007/s13369-024-08974-y
  22. Malakhov, A., Daribayeva, A., & Dmitriev, A. (2024). Signal classification algorithms for the MRPC with DRS4 readout. Journal of Instrumentation, 19(04), P04002. https://doi.org/10.1088/1748-0221/19/04/p04002
  23. Wala, J., de Bruijn, I., Coy, S., Gagné, A., Chan, S., Chen, Y.-A., Hoffer, J., Muhlich, J., Schultz, N., Santagata, S., & Sorger, P. K. (2024). Integrating spatial profiles and cancer genomics to identify immune-infiltrated mismatch repair proficient colorectal cancers [Preprint]. In bioRxiv. openRxiv. https://doi.org/10.1101/2024.09.24.614701
  24. Ma, H., Li, J., & Zhang, Y. (2024). Reconsidering Tree based Methods for k-Maximum Inner-Product Search: The LRUS-CoverTree. 2024 IEEE 40th International Conference on Data Engineering (ICDE), 4671–4684. https://doi.org/10.1109/icde60146.2024.00355
  25. Itsuka, T., & Kurazume, R. (2024). Indoor Position Estimation Using NLoS Reflected Path with Wireless Distance Sensors. 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 5573–5580. https://doi.org/10.1109/iros58592.2024.10802063

1–25 of 31