1. Hands-On Machine Learning with C++ : Build, Train, and Deploy End-to-end Machine Learning and Deep Learning Pipelines
- Author
-
Kirill Kolodiazhnyi and Kirill Kolodiazhnyi
- Abstract
Apply supervised and unsupervised machine learning algorithms using C++ libraries, such as PyTorch C++ API, Flashlight, Blaze, mlpack, and dlib using real-world examples and datasetsKey FeaturesFamiliarize yourself with data processing, performance measuring, and model selection using various C++ librariesImplement practical machine learning and deep learning techniques to build smart modelsDeploy machine learning models to work on mobile and embedded devicesPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionWritten by a seasoned software engineer with several years of industry experience, this book will teach you the basics of machine learning (ML) and show you how to use C++ libraries, along with helping you create supervised and unsupervised ML models. You'll gain hands-on experience in tuning and optimizing a model for various use cases, enabling you to efficiently select models and measure performance. The chapters cover techniques such as product recommendations, ensemble learning, anomaly detection, sentiment analysis, and object recognition using modern C++ libraries. You'll also learn how to overcome production and deployment challenges on mobile platforms, and see how the ONNX model format can help you accomplish these tasks. This new edition has been updated with key topics such as sentiment analysis implementation using transfer learning and transformer-based models, as well as tracking and visualizing ML experiments with MLflow. An additional section shows you how to use Optuna for hyperparameter selection. The section on model deployment into mobile platform now includes a detailed explanation of real-time object detection for Android with C++. By the end of this C++ book, you'll have real-world machine learning and C++ knowledge, as well as the skills to use C++ to build powerful ML systems.What you will learnEmploy key machine learning algorithms using various C++ librariesLoad and pre-process different data types to suitable C++ data structuresFind out how to identify the best parameters for a machine learning modelUse anomaly detection for filtering user dataApply collaborative filtering to manage dynamic user preferencesUtilize C++ libraries and APIs to manage model structures and parametersImplement C++ code for object detection using a modern neural networkWho this book is forThis book is for beginners looking to explore machine learning algorithms and techniques using C++. This book is also valuable for data analysts, scientists, and developers who want to implement machine learning models in production. Working knowledge of C++ is needed to make the most of this book.
- Published
- 2025