Book Image

Hands-On Deep Learning with Go

By : Gareth Seneque, Darrell Chua
Book Image

Hands-On Deep Learning with Go

By: Gareth Seneque, Darrell Chua

Overview of this book

Go is an open source programming language designed by Google for handling large-scale projects efficiently. The Go ecosystem comprises some really powerful deep learning tools such as DQN and CUDA. With this book, you'll be able to use these tools to train and deploy scalable deep learning models from scratch. This deep learning book begins by introducing you to a variety of tools and libraries available in Go. It then takes you through building neural networks, including activation functions and the learning algorithms that make neural networks tick. In addition to this, you'll learn how to build advanced architectures such as autoencoders, restricted Boltzmann machines (RBMs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), and more. You'll also understand how you can scale model deployments on the AWS cloud infrastructure for training and inference. By the end of this book, you'll have mastered the art of building, training, and deploying deep learning models in Go to solve real-world problems.
Table of Contents (15 chapters)
Free Chapter
1
Section 1: Deep Learning in Go, Neural Networks, and How to Train Them
6
Section 2: Implementing Deep Neural Network Architectures
11
Section 3: Pipeline, Deployment, and Beyond!

Assessing the results

You'll notice that the results of our VAE model are a fair bit fuzzier than our standard autoencoder:

In some cases, it also appears to be undecided between several different digits, like in the following example, where it appears to be getting close to decoding to a 7 instead of a 9:

This is because we have specifically enforced the distributions to be close to each other. If we were to try to visualize this on a two-dimensional plot, it would look a little bit like the following:

You can see from this last example that it can generate several different variations of each of the handwritten digits, and also that there are certain areas in between the different digits where it appears to morph between several different digits.

Changing the latent dimensions...