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

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

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

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

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

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

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