Category Archives: CNTK

Posts about the Microsoft CNTK deep learning code library

A Quick Look at the Embedded Learning Library (ELL)

The Embedded Learning Library (ELL) is an open source project. The goal is to create a cross compiler for machine learning models. Briefly, machine learning models, such as those for image recognition, are typically very large in terms of memory. … Continue reading

Posted in CNTK, Machine Learning | Leave a comment

The IMDB Movie Sentiment Analysis Problem using a CNTK LSTM Network

I successfully tackled the IMDB Movie Review dataset sentiment analysis problem. Coding up the system using the CNTK neural library was both easy and difficult — getting the data was difficult, writing the code was not as difficult as I’d … Continue reading

Posted in CNTK, Machine Learning

Free “Introduction to CNTK Succinctly” Book

I wrote a short book titled “Introduction to CNTK Succinctly” that you can get in PDF format for free. CNTK is an open source code library from Microsoft, which can be used to create deep neural network machine learning models. … Continue reading

Posted in CNTK, Machine Learning | 1 Comment

Installing CNTK v2.5 – What Could Possibly Go Wrong?

Microsoft CNTK is a code library for deep learning. Version 2.0 was a completely new library and first appeared in June 2017, about 9 months ago. Version 2.5 was released a few days ago so I decided to update my … Continue reading

Posted in CNTK, Machine Learning

Preparing Raw MNIST Data for use by a CNTK Program

The MNIST (“modified National Institute of Standards and Technology”) image dataset is often used to demonstrate image classification. The dataset has 60,000 images for training a model, and 10,000 images for evaluating a trained model. Each image is 28 pixels … Continue reading

Posted in CNTK, Machine Learning

Setting Up Input Data for an LSTM Network

When working with LSTM (“long, short-term memory) deep neural networks, just about everything is tricky. A huge stumbling block for beginners is trying to understand how to set up data that can be fed into an LSTM network. Every code … Continue reading

Posted in CNTK, Keras, Machine Learning | 1 Comment

Predict-the-Next-Word using a Keras LSTM Network

I’ve been exploring LSTM networks. An LSTM (“long, short-term memory”) network is useful for scenarios where the input is a sequence of words because an LSTM has a form of memory. The idea is that with a sentence, to predict … Continue reading

Posted in CNTK, Keras, Machine Learning