Author Archives: jamesdmccaffrey

Encoding Categorical Predictor Variables for Use with Decision Tree Based Regression Systems: The Simple Approach

Bottom line: Encoding categorical predictor variables for use in tree-based regression systems is a surprisingly complex topic. There are two main encoding schemes: 1. Always use simple ordinal encoding. 2. Use ordinal, or one-hot, or smoothed target encoding: a. binary … Continue reading →

Posted in Machine Learning | Leave a comment

Gradient Boost Regression with Blind Tree Regressors as the Weak Learners Using C# — Works Well

As usual with complex problems, explaining what the problem is, is more difficult than explaining the solution. So bear with me. But the bottom line is that I tried an experiment that worked, but gave only a small improvement to … Continue reading →

Posted in Machine Learning | Leave a comment

“Neural Network Bistratum Regression Using C#” in Visual Studio Magazine

I wrote an article titled “Neural Network Bistratum Regression Using C#” in the October 2026 edition of Microsoft Visual Studio Magazine. See https://visualstudiomagazine.com/articles/2026/10/01/neural-network-bistratum-regression-using-csharp.aspx. Neural network bistratum regression is a machine learning technique that uses a neural network with exactly two … Continue reading →

Posted in Machine Learning | Leave a comment

NFL 2026 Week 5 Predictions – Zoltar Likes Vegas Underdogs Vikings and Favorites Patriots

Zoltar is my NFL football prediction computer program. Zoltar uses a neural network and a type of quasi-reinforcement learning. Here are Zoltar’s predictions for week #5 of the 2026 season. Zoltar: cowboys by 6 opp = buccaneers | Vegas: cowboys … Continue reading →

Posted in Zoltar | Leave a comment

Linear Regression With Left Pseudo-Inverse Closed-Form Training Using C#

The form of a linear regression prediction equation is y’ = (w0 * x0) + (w1 * x1) + . . + (wn * xn) + b where y’ is the predicted value, the xi are predictor values, the wi … Continue reading →

Posted in Machine Learning | Leave a comment

Blind Tree Regression Using C#

One afternoon, I set out to come up with an algorithm for decision tree regression that is as simple as possible. I knew the result would predict poorly, but my ultimate goal is to use many of these super-simple decision … Continue reading →

Posted in Machine Learning | Leave a comment

My Top Ten Favorite Outer Limits (1995) TV Episodes

There were two editions of the Outer Limits TV series. The first series ran two seasons from 1963 to 1965. The second series ran seven seasons, from 1995 to 2002, with 152 episodes. I have mixed feelings about the 1995 … Continue reading →

Posted in Top Ten | Leave a comment

Gradient Boost Regression with Extra Trees (Extremely Randomized Trees) Learners Using C# — Works Well

As usual with complex problems, explaining what the problem is, is more difficult than explaining the solution. So bear with me. The goal of a machine learning regression problem is to predict a single numeric value. For example, a bank … Continue reading →

Posted in Machine Learning | Leave a comment

NFL 2026 Week 4 Predictions – Zoltar Likes the Vegas Favorite Bears Against the Jets

Zoltar is my NFL football prediction computer program. It uses a neural network and a type of quasi-reinforcement learning. Here are Zoltar’s predictions for week #4 of the 2026 season. These predictions are a bit tentative, in the sense that … Continue reading →

Posted in Zoltar | Leave a comment

Radial Basis Function (RBF) Network Regression Using C#

RBF networks for regression had a brief period of popularity in the 1990s. They are now rarely used because other techniques, notably, neural networks, kernel ridge regression, and gradient boost regression, are much easier to train and typically have better … Continue reading →

Posted in Machine Learning | Leave a comment