Author Archives: jamesdmccaffrey

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

Quadratic Regression Trained Using MP Pseudo-Inverse via QR-Householder From-Scratch JavaScript

One evening, for no reason I can really think of, I decided to implement a quadratic regression system, using relaxed Moore-Penrose pseudo-inverse via QR-Householder inverse, from scratch, using JavaScript. So I did. The goal of a machine learning regression problem … Continue reading →

Posted in JavaScript, Machine Learning | Leave a comment

XGBoost Regression Example Using Python

One Saturday morning, after I walked my two dogs (Riley and Kevin) and a visiting dog (Llama), I figured I would take a look at the XBGoost (“extreme gradient boosting”) regression code library. The goal of a machine learning regression … Continue reading →

Posted in Machine Learning | Leave a comment

Three Different Closed-Form Training Techniques for Linear Regression

Arguably the most basic form of machine learning regression is linear regression. The liner regression prediction model is y’ = (x0 * w0) + (x1 * w1) + . . (xn * wn) + b. The y’ is the predicted … Continue reading →

Posted in Machine Learning | Leave a comment

NFL 2026 Week 3 Predictions – Zoltar Likes Four Vegas Underdogs

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

Posted in Zoltar | Leave a comment

Why I (Almost) Never Use Software OOP Inheritance

I was working with tree-based regression systems. Most techniques– Bagging Tree regression, Random Forest regression, AdaBoost.R2 regression, Gradient Boost regression — use a collection of simple Decision Tree regressors. But AdaBoost.R2 and Gradient Boost can also use a collection of … Continue reading →

Posted in Machine Learning, Miscellaneous | Leave a comment

Neural Network Bistratum Regression From Scratch Using C#

The goal of a machine learning regression problem is to predict a single numeric value. For example, a bank might to predict the maximum safe loan amount to a customer based on customer age, current savings balance, and so on. … Continue reading →

Posted in Machine Learning | Leave a comment

Neural Network Bistratum Regression IO Using C#

Technically, a deep neural network is one that has two or more hidden layers of processing nodes. But deep neural networks for image processing or natural language processing typically have dozens or hundreds of hidden layers. A special case is … Continue reading →

Posted in Machine Learning | Leave a comment

For Someone Special

This animation always reminds me of a person who is very special to me — beyond special. 3W 5W OZ SZ

Posted in Miscellaneous | Leave a comment

“The AI Productivity Paradox” on the Pure AI Web Site

I contributed some technical content and opinions to an article titled “The AI Productivity Paradox” on the September 2026 edition of the Pure AI web site. See https://pureai.com/articles/2026/09/01/the-ai-productivity-paradox.aspx. The article starts with the irresistible proposition of AI: give people AI, … Continue reading →

Posted in Miscellaneous | Leave a comment