Author Archives: jamesdmccaffrey

The Maclaurin Series and Machine Learning

In the very early days of computers (say the 1950s and 1960s), most guys who entered the new field of “computer science” came from a background in either mathematics or electrical engineering. There’s always been a strong connection between mathematics … Continue reading

Posted in Machine Learning | Leave a comment

Neural Network Momentum using Python

I wrote an article titled “Neural Network Momentum using Python” in the August 2017 issue of Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2017/08/01/neural-network-momentum.aspx Momentum is a technique intended to speed up neural network training. Training a neural network is the process of … Continue reading

Posted in Machine Learning | Leave a comment

Replicator Neural Networks

A standard neural network classifier builds a model that predicts output values from input values. For example, the famous Iris Data has 150 items. Each item has four predictor variables (sepal length, sepal width, petal length, petal width) followed by … Continue reading

Posted in Machine Learning | 1 Comment

Deal and Reveal Blackjack Again

Many of the technical conferences I speak at are in Las Vegas. Vegas is a great town for conferences because, well, the town is basically designed to accommodate thousands of people. Hotel rates in Vegas are very reasonable, air travel … Continue reading

Posted in Conferences, Miscellaneous | Leave a comment

Time Series Regression using a Raw Python Neural Network

I’ve been looking at time series regression recently. Just for fun I coded up an example using a raw Python (with the NumPy library for numerical functions) neural network. For my example I used a standard benchmark data set that … Continue reading

Posted in Machine Learning | Leave a comment

My Four Most Common Python NumPy Array Initializations

I use several different programming languages. Whenever I switch between languages, there’s always an adjustment time in my head. For some reason, whenever I switch from C# to Python with NumPy, it always takes me about an hour to start … Continue reading

Posted in Machine Learning | Leave a comment

I do an Interview about Machine Learning on Microsoft’s Channel 9

Channel 9 is a Microsoft community video Web site. There are all kinds of interesting videos on Channel 9, but most of the videos are aimed at software developers. I was recently asked to do a short (6-minute) interview on … Continue reading

Posted in Conferences, Machine Learning | Leave a comment