Author Archives: jamesdmccaffrey

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 | Leave a comment

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 | Leave a comment

Running TensorFlow for Windows

Tensorflow is a code library of sophisticated machine learning algorithms. TensorFlow was created on, and intended for use on Linux machines. However, several weeks ago, a version of TensorFlow for Windows was released by the TF guys. TensorFlow for Windows … Continue reading

Posted in Machine Learning | Leave a comment

The Outer Product of Two Vectors

I was working with some machine learning code that required the use of the outer product of two vectors. I realized I hardly ever used an outer product in code, so I had to brush up quickly by reviewing the … Continue reading

Posted in Machine Learning | Leave a comment

L2 Regularization and Back-Propagation

L2 regularization, also called weight decay, is simple but difficult to explain because there are many interrelated ideas. Briefly, L2 regularization (also called weight decay as I’ll explain shortly) is a technique that is intended to reduce the effect of … Continue reading

Posted in Machine Learning | Leave a comment

Three Interesting Signs

I enjoy Las Vegas – for anyone who likes psychology, sociology, and mathematics, Las Vegas has all kinds of interesting weirdness. Here are three images from a recent trip. I was staying at the Planet Hollywood hotel. Here’s what I … Continue reading

Posted in Conferences, Miscellaneous, Top Ten | Leave a comment

At the 2017 Microsoft TechReady Event

Once or twice a year, Microsoft puts on a large conference for its employees called TechReady. I attended the 2017 event which ran from February 6 to 10 at the Washington State Convention Center in Seattle. The conference is intended … Continue reading

Posted in Conferences | Leave a comment