C++ ML Libraries ML Frameworks

C++ machine learning libraries and frameworks for building ML models natively in C++. Does NOT include ML applications built in C++, competition solutions, or language bindings to other ML frameworks.

There are 114 c++ ml libraries frameworks tracked. 4 score above 70 (verified tier). The highest-rated is davisking/dlib at 81/100 with 14,366 stars. 5 of the top 10 are actively maintained.

Get all 114 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=ml-frameworks&subcategory=cpp-ml-libraries&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Framework Score Tier
1 davisking/dlib

A toolkit for making real world machine learning and data analysis...

81
Verified
2 mlpack/mlpack

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

71
Verified
3 apache/singa

a distributed deep learning platform

71
Verified
4 hosseinmoein/DataFrame

C++ DataFrame for statistical, financial, and ML analysis in modern C++

70
Verified
5 ZigRazor/CXXGraph

Header-Only C++ Library for Graph Representation and Algorithms

64
Established
6 sradc/SmallPebble

A minimalist deep learning library written from scratch in Python

55
Established
7 mlpack/ensmallen

A header-only C++ library for numerical optimization --

52
Established
8 stillwater-sc/universal

Large collection of number systems providing custom arithmetic for...

52
Established
9 AXERA-TECH/ax-samples

Samples code for world class Artificial Intelligence SoCs for computer...

51
Established
10 microsoft/CNTK

Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit

51
Established
11 BVLC/caffe

Caffe: a fast open framework for deep learning.

51
Established
12 neoml-lib/neoml

Machine learning framework for both deep learning and traditional algorithms

48
Emerging
13 gegelati/gegelati

Generic Evolvable Graphs for Efficient Learning of Artificial Tangled...

47
Emerging
14 jaywyawhare/C-ML

Machine learning framework written in C.

45
Emerging
15 majianjia/nnom

A higher-level Neural Network library for microcontrollers.

44
Emerging
16 jubatus/jubatus

Framework and Library for Distributed Online Machine Learning

44
Emerging
17 oreilly-japan/deep-learning-from-scratch-3

『ゼロから作る Deep Learning ❸』(O'Reilly Japan, 2020)

44
Emerging
18 yechengxi/LightNet

Efficient, transparent deep learning in hundreds of lines of code.

43
Emerging
19 jingweizhanghuai/Morn

Morn是一个C语言的基础工具和基础算法库,包括数据结构、图像处理、音频处理、机器学习等,具有简单、通用、高效的特点。

42
Emerging
20 coin-or/Gravity

Mathematical Modeling for Optimization and Machine Learning

41
Emerging
21 FidoProject/Fido

A lightweight C++ machine learning library for embedded electronics and robotics.

41
Emerging
22 novak-99/MLPP

A library created to revitalize C++ as a machine learning front end. Per...

41
Emerging
23 Skoltech-CHR/DeepField

Machine learning framework for reservoir simulation

40
Emerging
24 Kolkir/mlcpp

Set of examples of ML approaches implemented in C++

40
Emerging
25 DiffSharp/DiffSharp

DiffSharp: Differentiable Functional Programming

38
Emerging
26 CMU-SPEED/SMaLLFramework

SMaLL: Software for rapidly instantiating Machine Learning Libraries

38
Emerging
27 Flowx08/artificial_intelligence

My C++ deep learning framework & other machine learning algorithms

38
Emerging
28 intel/MLSL

Intel(R) Machine Learning Scaling Library is a library providing an...

38
Emerging
29 SwuduSusuwu/SusuLib

C++ libs for antiviruses + neural tissue modules (such as Assistants use) +...

38
Emerging
30 pfnet-research/menoh

Menoh: fast DNN inference library with multiple programming language support

36
Emerging
31 jolars/libslope

C++ library for Sorted L-One Penalized Estimation (SLOPE)

36
Emerging
32 jczic/MicroMLP

A micro neural network multilayer perceptron for MicroPython (used on ESP32...

36
Emerging
33 philferriere/dlwin

GPU-accelerated Deep Learning on Windows 10 native

35
Emerging
34 sbu-fsl/kernel-ml

Machine Learning Framework for Operating Systems - Brings ML to Linux kernel

35
Emerging
35 PEC-CSS/slowmokit

Library which can be used for machine learning in C++.

33
Emerging
36 NVIDIA-AI-IOT/jetnet

Easy to use neural networks for NVIDIA Jetson (and desktop too!)

33
Emerging
37 oservo/aiFi

A Multi Layer Perceptron (MLP) Artificial Neural Network (ANN) Framework...

31
Emerging
38 andreacasalino/Easy-Factor-Graph

General purpose C++ library for managing discrete factor graphs

30
Emerging
39 cloudkj/layer

Neural network inference the Unix way

30
Emerging
40 coding-ai/machine_learning_cpp

Machine Learning C++

30
Emerging
41 CovERUshKA/ddnet-nn

DDNet Neural Network

30
Emerging
42 wangyi-fudan/wymlp

tiny fast portable real-time deep neural network for regression and...

30
Emerging
43 breuderink/epsilon

Epsilon is a library with functions for machine learning and statistics...

29
Experimental
44 mivp-agent/moos-ivp-agent

Model agnostic ML tooling for MOOS-IvP

28
Experimental
45 bschulz81/robustregression

a c++ library with statistical machine learning algorithms for linear and...

28
Experimental
46 ngxson/ggml-easy

Thin wrapper around GGML to make life easier

28
Experimental
47 mosynthkey/beat_this_cpp

C++ port of Beat This! (AI powered beat tracking)

27
Experimental
48 XuhuaHuang/EmbeddedProgramming

Applied modern C/C++ in calculus, discrete mathematics, robotics and machine...

27
Experimental
49 marchete/Mokka

Mokka is a minimal Inference Engine for Dense and Convolutional 2D Layer...

26
Experimental
50 softmin/ReHLine-SVM

A tiny and header-only C++ library aiming to be the fastest linear SVM solver.

26
Experimental
51 BobMcDear/aplearn

APL machine learning library

26
Experimental
52 willayy/modularml

Lightweight, transparent and modular ML Framework

26
Experimental
53 changzhiai/IANN

IANN (InterAtomic Neural Network Framework) is an equivariant interatomic...

25
Experimental
54 makariosb/Parallel-Machine-Learning-Algorithms

Parallelized versions of popular Machine Learning algorithms, written in C...

25
Experimental
55 ZFPSystems/genann

Genann library port to RISC OS, a simple, fast, reliable and hackable C...

25
Experimental
56 rkuang9/FLARE

A C++ neural network library for machine learning

25
Experimental
57 mbahng/pyember

ML Library from scratch with only standard libraries

24
Experimental
58 WindowsNT/DirectMLLib

A clean way to use DirectML for machine learning

24
Experimental
59 jideoyelayo1/cpp-ml-library

A library of Machine Learning Algorithms

24
Experimental
60 haritsahm/cpp-ml-server

Web Services for Machine Learning in C++

24
Experimental
61 amirabbasasadi/RockyML

⛰️ RockyML - A High-Performance Scientific Computing Framework for...

23
Experimental
62 harshaneo17/gekko_ml

A framework to develop neural networks on CPP

23
Experimental
63 PraneethJain/AutoVCO

ML-Driven Adaptive Voltage Controlled Oscillator

23
Experimental
64 s-aguado/tfm

Traballo Final do Mestrado en Computación de Altas Prestacións (High...

23
Experimental
65 godofecht/tinyML

Lightweight real-time machine learning and statistical analysis library

23
Experimental
66 rodrigogiraoserrao/ANNAPL

Artificial Neural Networks framework written in APL.

23
Experimental
67 mgaeckler1964/gaklib

utility functions for C++ with AI

22
Experimental
68 AjayAjishaa/Contiguous

🛠️ Build your own memory allocator with Contiguous, a simple project that...

22
Experimental
69 4byte-dev/4ml

Everything 4 ML

22
Experimental
70 PeppermintSnow/ml-in-c

A machine learning library written in C for personal learning and experimentation.

22
Experimental
71 Brody234/pypearl

Cool library for efficient machine learning. Started August 2024, but I...

21
Experimental
72 avkl/twinning

Data Twinning

20
Experimental
73 jabacat/jml

JABACAT-created machine learning library from scratch.

20
Experimental
74 kst179/telegram-ml-contest

Solution of the telegram ML competition 2023

20
Experimental
75 Mostafasaad1/KortexDL

High-performance C++20 neural network framework powered by Intel oneAPI MKL...

19
Experimental
76 ComNetsHH/omnetpp-ml

Materials on how to use machine learning frameworks in OMNeT++

19
Experimental
77 Borisflashdev/c-learn

C Learn

18
Experimental
78 JyotismoyKalita/JLinearRegression

A lightweight, pure-C machine learning library for Linear Regression

18
Experimental
79 qzhao19/sgdlib

A header-only C++ Library for Optimization Algorithms

18
Experimental
80 ModelingAndAnalysisOfUncertainty/ModelingAndAnalysisOfUncertainty

RCOS 23FALL Data Connoisseur

17
Experimental
81 ejaasaari/mlann

A Multilabel Classification Framework for Approximate Nearest Neighbor Search

17
Experimental
82 Ing-Brayan-Martinez/CPP-Algorithm-Example

Repositorio para re-aprender C y C++

16
Experimental
83 Yussufkadir/ML_algo_implementations

Hobby repo where I aim to refresh cpp and implement memory efficient ML/DL algorithms

16
Experimental
84 XUNIK8/Machine-Learning-Algorithms-in-C-Language

Rewrite some basic machine learning algorithms in C language

16
Experimental
85 samnaveenkumaroff/znn

ZNN (Zero Neural Network) is a minimal neural network framework designed for...

15
Experimental
86 aleon1138/lowess-lib

Fast LOWESS library for Python

15
Experimental
87 dhugh100/CT

CFR training and evaluation for two person setback in C

15
Experimental
88 dlee888/FJML

C++ ML library

14
Experimental
89 Pects1949/Cpp-AI-Algorithms

A collection of AI/ML algorithms implemented in C++ for performance-critical...

14
Experimental
90 fausto6791/16bit-cpu

Emulate a 16-bit CPU with a pure C implementation, featuring instruction...

14
Experimental
91 OpenMachine-ai/HuggingFive

HuggingFive 🖐️ is a collection of ML functions and libraries written in...

14
Experimental
92 jczic/MicroNN

Micro neural network with multi-dimensional layers, multi-shaped data, fully...

14
Experimental
93 Andrew20371160/Matrix-Library

This repo contains source code for a matrix library where I implemented all...

14
Experimental
94 marcos-venicius/ML-hello-world

A hello world in Machine learning with a small ML framework with methods...

13
Experimental
95 gk646/cxstructs

C++ datastructures, algorithms and utilities library

13
Experimental
96 F33RNI/PetalFlow

A pure C light-weight library for machine learning

13
Experimental
97 umashankardas/ml-kernels-c

Highly optimized Stable Diffusion inference kernels written in pure C from...

13
Experimental
98 estshorter/mlflow.cpp

MLflow Tracking REST API client written in C++

13
Experimental
99 marchete/NetMokka

Mokka is a minimal Inference Engine for Dense Layer Neural Networks. Written...

13
Experimental
100 rafa-br34/BigLib

A powerful C++ library containing a vast collection of algorithms and...

13
Experimental
101 Sorzusu/Syntra

A basic neural net framework with support for custom activation functions,...

13
Experimental
102 andrewlaack/cart-elc

Source code for CART-ELC.

12
Experimental
103 FraLiturri/ML-Project

Repository for Monk solver and MLP NN for ML exam.

12
Experimental
104 KyleCr4ne/HinaLibrary

📚 The C++ Machine Learning Library

12
Experimental
105 singul4ri7y/fang

The missing DL framework for C!

12
Experimental
106 gromdimon/stronghold

Repo for staying on the edge in tech

12
Experimental
107 Jintao-Huang/LeetCode-Cpp

jintao的cpp库: leetcode, mini_stl, ml.

12
Experimental
108 ScratchyCode/Machine-Learning

Testing di algoritmi per l'apprendimento automatico.

11
Experimental
109 SilkyChickn/CoreNet

Lightweighted NeuralNetwork Framework

11
Experimental
110 Hemanthsp999/Simple-Linear-Regression-C-Library

This C library provides efficient implementations of linear regression...

11
Experimental
111 HanielUlises/Machine-Learning-Cpp

Some machine learning implementations with C++

11
Experimental
112 ThePyLord/mlcpp

Custom C++ ML library for Apple Metal-based systems

11
Experimental
113 giocip/ARDUINO_num7

num7 ISO C++14 Standard 32-BIT LIBRARY, ARBITRARY-PRECISION GENERAL PURPOSE...

11
Experimental
114 ZhiyuZhangA/Cortex-plus-plus

Cortex++ is a light weight deep learning framework made in C++

10
Experimental