Author Archives: jamesdmccaffrey

Understanding the LSTM Input-Output Process

An LSTM cell (“long short-term memory”) is a software component that can be used to create a neural system that can make predictions on sequences of input values. I’m been looking very closely at LSTMs using the CNTK code library. … Continue reading

Posted in CNTK, Machine Learning | Leave a comment

Machine Learning and Cell Phone Stores

Every now and then I do some semi-random searches on the Internet. My search term is usually generated by a news headline. The idea is to find unexpected areas for machine learning. For example, I recently read a story about … Continue reading

Posted in Machine Learning | Leave a comment

Matrix Functions in C# for Machine Learning

The C# language is the most common language used by many enterprise developers who use the Microsoft technology stack. The Python language is very common for researchers and engineers who write machine learning code. I intend to refactor some Python … Continue reading

Posted in Machine Learning | Leave a comment

Iterating Through a CNTK-Format Data File

CNTK is Microsoft’s open source library for deep neural networks. A key component in CNTK code is a mini-batch object. A mini-batch object holds training data (input values and known correct output values) and a bunch of them are sent … Continue reading

Posted in CNTK, Machine Learning | 2 Comments

Encoding Data for Machine Learning using Excel

In many machine learning situations, the most time-consuming and annoying part of the process is getting data ready. A common task is to encode categorical data. For example, suppose you have a Color variable that can be one of three … Continue reading

Posted in Machine Learning | Leave a comment

Logistic Regression using Python

I wrote an article in the January 2018 issue of Visual Studio Magazine titled “Logistic Regression using Python. See https://visualstudiomagazine.com/articles/2018/01/04/logistic-regression.aspx. The goal of a binary classification problem is to predict a class label, which can take one of two possible … Continue reading

Posted in Machine Learning | Leave a comment

NFL 2017 Week 19 (Division Playoffs) Predictions – Zoltar Says Flip a Coin

Zoltar is my NFL football machine learning prediction system. It’s a hybrid system that uses a custom reinforcement learning algorithm plus a neural network. Here are Zoltar’s predictions for week #19 (the Division Playoff games) of the 2017 NFL season: … Continue reading

Posted in Zoltar | Leave a comment