Category Archives: CNTK

Posts about the Microsoft CNTK deep learning code library

A Crude Batching Class in Python for PyTorch and CNTK

Writing code is a skill, and like all skills, requires practice. I write code almost every day mostly because I enjoy the mental exercise but also to stay sharp. Today I thought I’d code up a crude batching class for … Continue reading

Posted in CNTK, Machine Learning, PyTorch | Comments Off on A Crude Batching Class in Python for PyTorch and CNTK

Autoencoders for Visualization Using CNTK

I wrote an article titled “Autoencoders for Visualization Using CNTK” in the December 2018 issue of Microsoft MSDN Magazine. See https://msdn.microsoft.com/en-us/magazine/mt832864. An autoencoder is a special type of neural network and is probably best explained by an example. Some training … Continue reading

Posted in CNTK, Machine Learning | Comments Off on Autoencoders for Visualization Using CNTK

Neural Network Library Training Algorithms

For people who are new to neural network libraries such as Keras, CNTK, PyTorch, and TensorFlow, selecting a training algorithm can be a bit confusing. All the libraries support the five main algorithms: stochastic gradient descent (SGD), Adagrad, Adadelta, Adam, … Continue reading

Posted in CNTK, Keras, Machine Learning, PyTorch | Comments Off on Neural Network Library Training Algorithms

A Look at CNTK v2.6 and the Iris Dataset

Version 2.6 of CNTK was released a few weeks ago so I figured I’d update my system and give it a try. CNTK (“Cognitive Network Tool Kit”) is Microsoft’s neural network code library. Primary alternatives include Google’s TensorFlow and Keras … Continue reading

Posted in CNTK, Keras, Machine Learning, PyTorch | Comments Off on A Look at CNTK v2.6 and the Iris Dataset

Sentiment Analysis Using CNTK

I wrote an article titled “Sentiment Analysis Using CNTK” in the October 2018 issue of Microsoft MSDN Magazine. See https://msdn.microsoft.com/en-us/magazine/mt830362. CNTK (“Cognitive Network Tool Kit”) is Microsoft’s neural network library that’s comparable in many ways to Google’s TensorFlow code library … Continue reading

Posted in CNTK, Machine Learning | Comments Off on Sentiment Analysis Using CNTK

Managing Neural Network Library Versions

I regularly use four neural network code libraries: TensorFlow, Keras, PyTorch, and CNTK. The libraries require Python. Managing all the different versions of these libraries is an annoying detail that has to be taken care of very carefully. I recently … Continue reading

Posted in CNTK, Keras, Machine Learning, PyTorch | Comments Off on Managing Neural Network Library Versions

An Autoencoder Using CNTK

I hadn’t used CNTK for a few weeks, so I figured I’d implement an autoencoder just to keep my CNTK skills fresh. CNTK is a deep neural network code library from Microsoft. I used the UCI Digits Dataset, which has … Continue reading

Posted in CNTK, Machine Learning | Comments Off on An Autoencoder Using CNTK

Introduction to DNN Image Classification Using CNTK

I wrote an article titled “Introduction to DNN Image Classification Using CNTK” in the July 2018 issue of Microsoft MSDN Magazine. See https://msdn.microsoft.com/en-us/magazine/mt847190. Image classification is a standard problem in machine learning. If you have an image (typically a photograph), … Continue reading

Posted in CNTK, Machine Learning | Comments Off on Introduction to DNN Image Classification Using CNTK

Neural Regression using CNTK

I wrote an article titled “Neural Regression using CNTK” in the June issue of Microsoft MSDN Magazine. See https://msdn.microsoft.com/en-us/magazine/mt846729. The goal of a regression problem is to predict a single numeric value (such as the age of a person) — … Continue reading

Posted in CNTK, Machine Learning | Comments Off on Neural Regression using CNTK

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 | Comments Off on A Quick Look at the Embedded Learning Library (ELL)