Book Image

Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide

By : Willem Meints
Book Image

Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide

By: Willem Meints

Overview of this book

Cognitive Toolkit is a very popular and recently open sourced deep learning toolkit by Microsoft. Cognitive Toolkit is used to train fast and effective deep learning models. This book will be a quick introduction to using Cognitive Toolkit and will teach you how to train and validate different types of neural networks, such as convolutional and recurrent neural networks. This book will help you understand the basics of deep learning. You will learn how to use Microsoft Cognitive Toolkit to build deep learning models and discover what makes this framework unique so that you know when to use it. This book will be a quick, no-nonsense introduction to the library and will teach you how to train different types of neural networks, such as convolutional neural networks, recurrent neural networks, autoencoders, and more, using Cognitive Toolkit. Then we will look at two scenarios in which deep learning can be used to enhance human capabilities. The book will also demonstrate how to evaluate your models' performance to ensure it trains and runs smoothly and gives you the most accurate results. Finally, you will get a short overview of how Cognitive Toolkit fits in to a DevOps environment
Table of Contents (9 chapters)

Summary

In this chapter, we've built our first neural network and trained it to recognize iris flowers. While this sample is really basic, it shows how to use CNTK to build and train neural networks.

We've seen how to use the layer library in CNTK to our advantage to quickly define the structure for our neural network. In this chapter, we've talked about a few basic building blocks, such as the Dense layer and the Sequential layer, to chain several other layers together. In the coming chapters, we will learn other layer functions to build other types of neural networks such as convolutional networks.

In this chapter, we've also discussed how to use learner and trainer to build a basic algorithm to train our neural network. We've used the train_minibatch method, together with a basic loop, to construct our own training process. This is a pretty simple...