C++ machine learning libraries
Machine learning and inference libraries for C++, ranked by GitHub stars
Actualizado · GitHub stars (stars)
Por qué estos 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
Faiss
A library for efficient similarity search and clustering of dense vectors.
41,840 stars 4,658 forkslast push 2026-11-20C++MIT
También en: #3 Top open-source vector databases and similarity search libraries
-
2
Caffe
A fast framework for neural networks. [BSD]
34,555 stars 18,370 forkslast push 2024-07-31C++NOASSERTION
-
3
xgboost
Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop,...
29,008 stars 8,986 forkslast push 2026-11-19C++Apache-2.0
También en: #2 general machine learning packages
-
4
darknet
Open source neural network framework written in C and CUDA. [PublicDomain] website
26,518 stars 20,942 forkslast push 2024-05-03CNOASSERTION
-
5
ncnn
A high-performance neural network inference computing framework optimized for mobile platforms. [BSD]
24,082 stars 4,558 forkslast push 2026-11-21C++NOASSERTION
-
6
Dlib ▲1
zap: - A modern C++11 machine learning, computer vision, numerical optimization, and deep learning toolkit. [Boost] website
14,479 stars 3,438 forkslast push 2026-11-17C++BSL-1.0
También en: #2 C++ frameworks#2 C++ image processing libraries#1 C++ math libraries#4 general machine learning packages
-
7
catboost ▲1
A fast, scalable, high performance Gradient Boosting on Decision Trees library. [Apache2]
9,210 stars 1,361 forkslast push 2026-11-20C++Apache-2.0
También en: #5 general machine learning packages
-
8
CCV ▲1
C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library. [BSD]
7,256 stars 1,704 forkslast push 2026-11-20C++NOASSERTION
-
9
mlpack ▲1
A scalable c++ machine learning library. [LGPLv3] website
5,729 stars 1,736 forkslast push 2026-11-20C++NOASSERTION
También en: #9 general machine learning packages
-
10
libsvm ▲1
A simple, easy-to-use, efficient library for Support Vector Machines. [BSD-3-Clause] website
4,715 stars 1,630 forkslast push 2025-12-29JavaBSD-3-Clause
-
11
USearch ▲1
One proximity graph for vector search, sparse products & attention across RAM, VRAM & NVMe, over dense vectors, sequences, shapes & geospatial sets in 14 languages 🔍
4,389 stars 378 forkslast push 2026-11-18C++Apache-2.0
También en: #11 Top open-source vector databases and similarity search libraries
-
12
SHOGUN ▲1
The Shogun Machine Learning Toolbox. [GPLv3]
3,083 stars 1,033 forkslast push 2023-12-19C++BSD-3-Clause
-
13
m2cgen ▲1
A CLI tool to transpile trained classic ML models into a native Go code with zero dependencies, written in Python with Go language support.
3,000 stars 264 forkslast push 2024-08-03PythonMIT
También en: #5 Go (Golang) machine learning libraries
-
14
FANN ▲1
Fast Artificial Neural Network library in C. [LGPL]
1,745 stars 397 forkslast push 2026-07-06C++LGPL-2.1
-
15
VLFeat ▲1
The VLFeat open source library implements popular computer vision algorithms specialising in image understanding and local featurexs extraction and...
1,650 stars 619 forkslast push 2022-08-25CBSD-2-Clause
-
16
RNNLIB ▲1
RNNLIB is a recurrent neural network library for sequence learning problems. [GPLv3]
902 stars 225 forkslast push 2020-02-10CGPL-3.0
-
17
kann ▲1
A lightweight C library for artificial neural networks. [MIT]
764 stars 122 forkslast push 2025-06-06CNOASSERTION
-
18
-
19
Fido ▲1
A highly-modular C++ machine learning library for embedded electronics and robotics. [MIT] website
465 stars 83 forkslast push 2020-01-05C++MIT
-
20
Recommender nuevo
C library for product recommendations/suggestions using collaborative filtering (CF). [BSD]
268 stars 63 forkslast push 2022-07-19CBSD-2-Clause
Referencias
- fffaraz/awesome-cpp: Machine Learning, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 08:15 UTC.
- fffaraz/awesome-cpp (Machine Learning), GitHub community list, 28 tools with a public repository.