
High-Performance Machine Learning in C++
Build Production Neural Networks and Anomaly Detection SystemsBy Lionel EriksenLength7h 37m
About this audiobook
Machine learning C++ and high-performance computing converge in this hands-on guide for building fast AI models from the ground up. Lionel Eriksen teaches you to implement training, inference, and numerical routines where speed truly matters—close to the metal. From optimizing memory access to parallelizing algorithms with OpenMP and SIMD, you'll master techniques that make your models run faster than Python-based alternatives. Practical exercises cover gradient descent, backpropagation, and custom kernels for CPUs. No fluff—just C++ code that delivers real-world performance gains. Whether you're a beginner or seasoned developer, this book bridges theory and practice. Competitor authors: [placeholder] and [placeholder] offer similar topics, but Ibarra's focus on low-level optimization and practical implementation sets this apart.
What You'll Learn
Build neural networks from scratch using raw C++ and Eigen
Implement gradient descent, backpropagation, and loss functions
Optimize memory layout and cache usage for faster training
Parallelize loops with OpenMP and vectorize with SIMD intrinsics
Write custom numerical routines for matrix operations
Profile and debug performance bottlenecks with tools like perf and Valgrind
Deploy models in embedded systems and low-latency applications
Who This Book Is For
Software engineers, data scientists, and C++ developers who want to push AI performance beyond scripting languages. Ideal for those building real-time systems, game AI, or high-frequency trading models.
Table of Contents
Why C++ for Machine Learning?
Setting Up Your Development Environment
Data Structures for High Performance
Linear Algebra Routines from Scratch
Implementing Gradient Descent
Building a Neural Network Layer
Training with Backpropagation
Parallelization with OpenMP
Vectorization with SIMD
Memory Optimization Techniques
Profiling and Benchmarking
Inference Optimization
Deploying to Embedded Systems
Case Study: Real-Time Object Detection
Get ready to write C++ that makes AI fly. No Python wrappers—just raw speed and full control.
Audiobook details
GenreTechnology
Length7 hrs 37 mins
Narrated byListen with 1,000+ voices
FormateBook with Audio
LanguageEnglish
Table of contents
1Preface
2Chapter 1 — Setting Up Your C++ Machine Learning Workbench
3Chapter 2 — Building a Blazing-Fast Math Library from Scratch
4Chapter 3 — Data Loading and Preprocessing for Time-Series Sensor Data
5Chapter 4 — Linear Regression for Baseline Anomaly Detection
Show all chaptersShow less
6Chapter 5 — Logistic Regression for Binary Fault Classification
7Chapter 6 — Foundations of a Custom Neural Network Framework
8Chapter 7 — Training Deep Networks with Optimizers and Regularization
9Chapter 8 — Convolutional Neural Networks for Spectrogram Analysis
10Chapter 9 — Performance Optimization: Cache-Friendly Layouts and SIMD
11Chapter 10 — Recurrent Networks for Sequential Anomaly Prediction
12Chapter 11 — Transformers for Long-Range Sensor Dependencies
13Chapter 12 — Decision Trees for Interpretable Rules
14Chapter 13 — Ensemble Methods: Random Forests and Gradient Boosting
15Chapter 14 — Unsupervised Learning: Autoencoders and K-Means Clustering
16Chapter 15 — Dimensionality Reduction with PCA and SVD
17Chapter 16 — Model Compression and Edge Deployment
18Chapter 17 — Real-Time Inference Server with Zero-Copy Batching
19Chapter 18 — Performance Showdown: C++ vs Python Frameworks
20About the Author