© 2018

Deep Belief Nets in C++ and CUDA C: Volume 1

Restricted Boltzmann Machines and Supervised Feedforward Networks

  • Master deep learning with C++ and CUDA C

  • Utilize restricted Boltzmann machines

  • Work with supervised feedforward networks


Table of contents

  1. Front Matter
    Pages i-ix
  2. Timothy Masters
    Pages 1-8
  3. Timothy Masters
    Pages 9-89
  4. Timothy Masters
    Pages 91-172
  5. Timothy Masters
    Pages 173-181
  6. Timothy Masters
    Pages 183-211
  7. Back Matter
    Pages 213-219

About this book


Discover the essential building blocks of the most common forms of deep belief networks. At each step this book provides intuitive motivation, a summary of the most important equations relevant to the topic, and concludes with highly commented code for threaded computation on modern CPUs as well as massive parallel processing on computers with CUDA-capable video display cards. 

The first of three in a series on C++ and CUDA C deep learning and belief nets, Deep Belief Nets in C++ and CUDA C: Volume 1 shows you how the structure of these elegant models is much closer to that of human brains than traditional neural networks; they have a thought process that is capable of learning abstract concepts built from simpler primitives. As such, you’ll see that a typical deep belief net can learn to recognize complex patterns by optimizing millions of parameters, yet this model can still be resistant to overfitting. 

All the routines and algorithms presented in the book are available in the code download, which also contains some libraries of related routines. 

You will:
  • Employ deep learning using C++ and CUDA C
  • Work with supervised feedforward networks 
  • Implement restricted Boltzmann machines 
  • Use generative samplings
  • Discover why these are important


C++ CUDA C deep learning Boltzmann machine AI artificial intelligence numerical algorithms CV computer vision statistics deep belief networks Boltzmann Feedforward supervised

Authors and affiliations

  1. 1.IthacaUSA

About the authors

Timothy Masters received a PhD in mathematical statistics with a specialization in numerical computing. Since then he has continuously worked as an independent consultant for government and industry. His early research involved automated feature detection in high-altitude photographs while he developed applications for flood and drought prediction, detection of hidden missile silos, and identification of threatening military vehicles. Later he worked with medical researchers in the development of computer algorithms for distinguishing between benign and malignant cells in needle biopsies. For the last twenty years he has focused primarily on methods for evaluating automated financial market trading systems. He has authored five books on practical applications of predictive modeling: Practical Neural Network Recipes in C++ (Academic Press, 1993) Signal and Image Processing with Neural Networks (Wiley, 1994) Advanced Algorithms for Neural Networks (Wiley, 1995) Neural, Novel, and Hybrid Algorithms for Time Series Prediction (Wiley, 1995) and Assessing and Improving Prediction and Classification (Apress, 2018).

Bibliographic information

Industry Sectors
Chemical Manufacturing
IT & Software
Consumer Packaged Goods
Materials & Steel
Finance, Business & Banking
Energy, Utilities & Environment
Oil, Gas & Geosciences