Practical C++ Machine Learning, Second Edition

Practical C++ Machine Learning, Second Edition

Anais Sutherland

0,00 €
IVA incluido
Consulta disponibilidad
Editorial:
GitforGits
Año de edición:
2026
ISBN:
9788117136157
Añadir a favoritos

If you want to build, train, optimize and deploy neural networks using modern C++20, this second edition is the place to start.This edition has been rewritten from the ground up for C++20 and uses the open-source Flashlight library and the CIFAR-10 image dataset. With every chapter, you’ll get a working project, and you’ll put all the techniques you learn into practice by compiling, running and measuring code yourself.In this edition, there’s everything you need to set up a reliable C++20 toolchain, load and augment images with ranges, spans and concepts as well as train multilayer perceptrons, convolutional networks and residual networks using a reusable trainer. With weight decay, dropout and batch normalization, you’ll see a real improvement in your generalisation. There’s also learning rate schedules and transfer learning to explore and implement. In the later chapters, you get to move into production engineering where we learn to stream batches through coroutine pipelines and version checkpoints. We will also be pruning, quantizing and distilling models, and serving real-time OpenCV inference using std::jthread, stop tokens and semaphores. And in the final chapters, we will get into scalability challenges like training with data-parallel replicas, gradient accumulation and mixed precision.Key LearningsSet up a working C++ ML toolchain with Flashlight, ArrayFire and oneDNN.Load and prepare CIFAR-10 data pipeline using C++20 concepts, ranges and spans.Train perceptrons, CNNs and ResNets with one reusable, type-checked training loop.Reduce overfitting with weight decay, dropout, batch normalization and image augmentation.Build warmup and cosine learning-rate schedules that the compiler checks for mistakes.Apply transfer learning by freezing or fine-tuning a pretrained backbone on small datasets.Feed training batches faster with C++20 coroutines, generators and background prefetching.Save, version and reload model checkpoints using std::filesystem and std::chrono dates.Shrink models through pruning, eight-bit quantization and knowledge distillation.Scale training with std::jthread workers, gradient accumulation and mixed-precision arithmetic.Table of ContentGetting Started with C++20 Machine LearningC++20 Toolkit for ML EngineersData Handling and PreprocessingBuilding a Simple Neural NetworkTraining Deep Neural NetworksConvolutional Neural NetworksImproving Model PerformanceAdvanced Neural Network ArchitecturesAsynchronous Pipelines with CoroutinesModel Optimization, Deployment and IntegrationParallelism and Performance Scaling

Artículos relacionados

  • Poetry Is Our Ministry to Touch the Heart
    Anelda Lukesia Ballard / Jean Anelda Scott
    Poetry is Our Ministry to Touch the Heart, was birthed when Anelda L. Ballard became ill. God spoke to her in a dream and said 'pick up a pen and write' by being obedient this book was written through the Holy Spirit. Anelda and her mother Jean A. Scott believes that God’s wants to heal a hurting heart. This book will inspire you and encourage you to never give up hope. Jesu...
    Disponible

    11,12 €

  • I soldati lunghi
    Pierluigi Romeo di Colloredo Mels
    Il 24 maggio 1915 il Regno d’Italia entrò nella Grande Guerra, che si sarebbe dimostrata il momento più alto e tragico della sua storia, a poco più di cinquant’anni dalla sua unificazione.In quella lotta tremenda durata quattro anni, la Brigata Granatieri di Sardegna , con i suoi due valorosi Reggimenti, i più antichi del Regio Esercito scrisse, nel grande quadro della guerra d...
    Disponible

    32,59 €

  • Five Beneath Philly
    Susan Bandy / Tom Richmond
    Allen Williams plans to make something of his life and escape South Philly and the work at Cross Brothers’ Meat Packing Plant. He prepares himself with excellent grades and an upcoming full-ride scholarship to climb out of South Philly forever. Then fate changes his whole world. An only son in a family of six, Allen suddenly finds himself responsible for his mother, grandmother...
    Disponible

    18,28 €

  • Forms
    Sharon Welch
    I am an award-winning artist and my works hang in private residences, community hospitals, businesses, and restaurants across the US and also abroad.  I live in Pierre, South Dakota. Since 2008 I have owned Sharon Welch Gallery and Studio where I paint and teach classes.  My theory is have fun, remove the fear of failure, experiment and let the child inside of you play.Very oft...
  • Ricordi di una ausiliaria
    Andrea Lombardi / Raffaella Duelli
    Le memorie di Raffaella Duelli, Volontaria nel Battaglione Barbarigo della Decima Flottiglia Mas iniziano con la partenza del Barbarigo da Roma, narrando la lunga marcia del reparto verso il nord, sotto il mitragliamento degli aerei Alleati. Quindi, è descritta vividamente l'ultima battaglia del Barbarigo sul Fronte Sud, dal Senio a Comacchio: gli appunti di Raffaella, giov...
    Disponible

    28,08 €

  • Why Didn’t You Ask?
    Panya Dixon
    From an early occurrence in her childhood to a perilous thirteen-year relationship, Panya Dixon too often suffered from various forms of physical, emotional, and sexual abuse. Conflicted between love and the pain her loved ones brought on her, she consistently had to fight for her life and her will to move on. Why Didn’t You Ask? is an expression of Panya’s truth—her trials, pa...
    Disponible

    20,35 €

Otros libros del autor

  • Programmable Networks with C++
    Anais Sutherland
    These days, networks aren’t just racks of switches anymore, they’re also AI clusters. A single training job depends on a lossless fabric, a Kubernetes control plane, a cloud VPC, an inference gateway, and a telemetry pipeline that has to notice trouble before anybody files a ticket. Even with something as strong as Python glue, it’s not going to hold up at that size. But C++23 ...
    Disponible

    61,55 €

  • C++ Networking 101, Second Edition
    Anais Sutherland
    The point of this edition is to help C++ programmers get the skills and confidence they need to do a wide range of networking tasks. The book gives lots of practical, easy-to-follow examples and covers most key areas of network programming, but intentionally leaves out highly complex scenarios.It starts with the basics of how C++ works with TCP/IP and gradually builds on that a...
    Disponible

    61,00 €

  • Practical C++ Machine Learning
    Anais Sutherland
    Practical C++ Machine Learning introduces C++ programmers to the world of machine learning. If you know C++ but haven’t worked with machine learning solutions before, this book is a good place to start learning the basics and experimenting with the language’s essential concepts and techniques.The book starts off by showing you how to set up a development environment and put tog...
    Disponible

    61,16 €

  • C++ Programming Cookbook
    Anais Sutherland
    'C++ Programming Cookbook' stands out as a clear, concise, and powerful technical resource for programmers who want to master C++’s intricacies. C++ programmers face a wide variety of problems, and this carefully written book is a treasure trove of solutions and methods to those software development challenges.Each chapter is organized to help you get a good grasp of the langua...
    Disponible

    61,97 €

  • C++ Networking 101
    Anais Sutherland
    This book is an invaluable resource for aspiring network administrators aiming to deepen their understanding of networking concepts while strengthening their C++ programming skills. Across eleven chapters, this book bridges the gap between network administration and programming, providing readers with a holistic approach to mastering network operations. Readers begin with a dee...
    Disponible

    53,00 €