Author Archives: jamesdmccaffrey

I Use AI to Improve My Gradient Boosting Regression System Using JavaScript

Bottom line: I used AI to analyze my existing implementation of gradient boosting regression with JavaScript, and it came up with some significant performance improvements. The goal of a machine learning regression problem is to predict a single numeric value. … Continue reading →

Posted in JavaScript, Machine Learning | Leave a comment

I Use AI to Improve My Bagging Tree Regression System Using JavaScript

A simple decision tree for regression will almost always overfit the training data where the model accuracy on the training data is near 100% but accuracy on new, previously unseen data is very poor. The simple idea of bagging tree … Continue reading →

Posted in JavaScript, Machine Learning | Leave a comment

Hybrid Quadratic Regression and Gradient Boosting Regression Using C#

I like to write code every day. Writing code is a skill that must be practiced, and besides, I enjoy writing code. Over the course of my career, I saw countless colleagues move from an engineering role to an engineering-management … Continue reading →

Posted in Machine Learning | Leave a comment

NFL 2026 Week 9 Predictions – Zoltar Likes Three Vegas Home Underdogs

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 #9 of the 2026 season. Zoltar: jaguars by 4 opp = ravens | Vegas: jaguars … Continue reading →

Posted in Zoltar | Leave a comment

Support Vector Regression with SMO Training from Scratch Using C#

One morning before work, I figured I’d implement kernel support vector regression (SVR), from scratch, using C#. It took me a bit longer than expected but I got a demo up and running. My implementation uses hard-wired RBF (radial basis … Continue reading →

Posted in Machine Learning | Leave a comment

I Use AI to Improve My AdaBoost.R2 Regression System Using C#

A simple decision tree for regression will almost always overfit the training data where the model accuracy on the training data is near 100% but accuracy on new, previously unseen data is very poor. The idea of AdaBoost.R2 (adaptive boosting … Continue reading →

Posted in Machine Learning | Leave a comment

Support Vector Regression with SGD Training from Scratch Using Python

One day, I decided to implement kernel support vector regression (SVR), from scratch, using Python. One of the biggest downsides to SVR training is that almost all implementations use an algorithm called SMO (sequential minimal optimization) for training. SMO is … Continue reading →

Posted in Machine Learning | Leave a comment

Sorting a Pair of Numeric Arrays Using JavaScript

I was translating some C# code to JavaScript. While translating line-by-line, I hit C# code that looked like: Array.Sort(vector1, vector2); This overloaded version of C# Array.Sort() sorts the numeric values in vector1 and vector2 according to the sort order of … Continue reading →

Posted in JavaScript | Leave a comment

NFL 2026 Week 8 Predictions – Zoltar Likes Vegas Favorite Bills and Underdog Broncos

Zoltar is my NFL football prediction computer program. It uses a neural network and a form of reinforcement learning. Here are Zoltar’s predictions for week #8 of the 2026 season. Zoltar: packers by 6 opp = panthers | Vegas: packers … Continue reading →

Posted in Zoltar | Leave a comment

I Use AI to Improve My Gradient Boosting Regression System Using C#

Bottom line: I used AI to analyze my existing implementation of gradient boosting regression using C#, and it came up with some significant performance improvements. The goal of a machine learning regression problem is to predict a single numeric value. … Continue reading →

Posted in Machine Learning | Leave a comment