Category Archives: Machine Learning

Bengio and Deng Visit my Machine Learning Talk

I was giving a short talk on machine learning at Microsoft last week and the talk was visited by Yoshua Bengio and Li Deng. If you work in ML or AI you probably know these two names. Bengio (University of … Continue reading

Posted in Conferences, Machine Learning

My Interview with “This Week in Machine Learning and AI”

Several weeks ago I did an audio interview for a podcast for the “This Week in Machine Learning & AI” Web site. The interview has been posted. See https://twimlai.com/twiml-talk-013-understanding-deep-neural-networks-james-mccaffrey-interview/. The interview was hosted by Sam Charrington. I’ve never met Sam … Continue reading

Posted in Conferences, Machine Learning

Chi-Squared Goodness of Fit using C#

I wrote an article titled “Chi-Squared Goodness of Fit using C#” in the March 2017 issue of Microsoft MSDN Magazine. See https://msdn.microsoft.com/en-us/magazine/mt795190. A chi-squared goodness of fit test is most often used when you have a dataset of “count” values … Continue reading

Posted in Machine Learning | 2 Comments

A Simple Neural Network using the CNTK v2.0 Tool

The Microsoft CNTK code library is a very powerful machine learning system. Version 2.0 is a huge change from version 1.0. Version 2.0 is still in Beta mode but I’ve been experimenting with it anyway. For me, the essential Hello … Continue reading

Posted in Machine Learning

Image Classification Demo using TensorFlow on Windows

I’ve been looking at the TensorFlow library of machine learning code running on a Windows machine. In particular, I’ve been experimenting with the famous MNIST image classification problem. The MNIST image data set has a total of 70,000 images. Each … Continue reading

Posted in Machine Learning

Parsing a Text File of Numeric Values using Python

I’ve been using Python quite a bit recently, mostly because I’ve been looking at the TensorFlow and CNTK machine learning libraries which both have a Python interface. Some tools, such as Weka, use a required data file format (ARFF). But … Continue reading

Posted in Machine Learning

Installing CNTK v2.0 Beta

The Microsoft CNTK tool does deep neural networks and is more-or-less a direct competitor to Google TensorFlow. The CNTK v2.0 is in Beta as I write this. I figured I’d install CNTK v2.0 Beta to play around with it. The … Continue reading

Posted in Machine Learning