Category Archives: Machine Learning

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

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

I Use AI to Improve My Decision Tree Regression Using From-Scratch Python

I fed my decision tree regression system, implemented using from-scratch Python with NumPy, to several AI systems and asked the AI to analyze it for correctness. I was quite impressed that the AI found a few rare edge cases where … Continue reading →

Posted in Machine Learning | Leave a comment

Implementing a Coefficient of Determination (R2) Function Using C#

The goal of a machine learning regression problem is to predict a single numeric value, for example, predicting the bank account balance of a person based on his age, annual income, and so on. A prediction model can be evaluated … Continue reading →

Posted in Machine Learning | Leave a comment

AdaBoost.R2 Regression with Blind Tree Learners Using C#

I decided to implement Gradient Boost regression using Blind Trees learners. Bottom line: For my demo dataset, the technique worked about the same as the standard architecture that uses regular decision trees as the learners. In machine learning, explaining what … Continue reading →

Posted in Machine Learning | Leave a comment