Books (By Me!)
Events (I Speak At!)
-
Recent Posts
Archives
Categories
Category Archives: Machine Learning
Example of Kernel Ridge Regression From Scratch Python Using Cholesky Decomposition with a Solve Function
My standard from-scratch implementation of kernel ridge regression (KRR) trains using the Cholesky inverse of a RBF kernel matrix. It’s possible to train by computing a Cholesky decomposition and then using a solve method. The explicit inverse approach looks like: … Continue reading
Posted in Machine Learning
Leave a comment
Adding L2 Regularization to Quadratic Regression Trained Using MP Pseudo-Inverse via QR-Householder with C#
There are three main ways to train a quadratic regression model: 1.) using stochastic gradient descent, 2.) using left pseudo-inverse (normal equations) via Cholesky inverse, 3.) using relaxed Moore-Penrose pseudo-inverse via one of many possible inverses. I have implemented many … Continue reading
Posted in Machine Learning
Leave a comment
Comparing Support Vector Regression Using From-Scratch C# vs Using the Scikit SVR Module
I recently implemented support vector regression (SVR) from scratch using the C# language, trained using stochastic sub-gradient descent (SSGD). The SVR system seemed to work well but I figured I’d compare it with the gold standard scikit-learn SVR module. Bottom … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
AdaBoost.R2 Regression with Extra Trees (Extremely Randomized Trees) Learners Using C#
Bottom line: I decided to implement AdaBoost.R2 regression using Extra (“Extremely Randomized”) Trees learners. Bottom line: For my demo dataset, the technique worked better than the standard architecture that uses regular decision trees as the learners. As is often the … Continue reading
Posted in Machine Learning
Leave a comment
Deep Neural Network Regression From Scratch Using Python
One Sunday evening, I was sitting in my living room. I decided to implement a regression system (to predict a single numeric value), using a neural network with exactly two hidden layers, from scratch, using Python with NumPy. The effort … Continue reading
Posted in Machine Learning
Leave a comment
Hybrid Quadratic Regression and Nearest Neighbors Regression Using C#
I like to write code every day. Writing code is a skill that must be practiced, and I enjoy writing code. Over the course of my career, I saw countless colleagues move from an engineering role to an engineering-management role, … Continue reading
Posted in Machine Learning
Leave a comment
New Version of Quadratic Regression Trained Using MP Pseudo-Inverse via QR-Householder Using C#
The goal of a machine learning regression problem is to predict a single numeric value. Quadratic regression is an enhanced form of basic linear regression. One of several ways to train a quadratic regression model is to use relaxed Moore-Penrose … Continue reading
Posted in Machine Learning
Leave a comment
Demonstrating Why AdaBoost.R2 Regression Almost Always Uses Decision Tree Learners
AdaBoost.R2 (“adaptive boosting regression, version 2”) is a technique to predict a single numeric value. AdaBoost works by creating a collection of simple decision trees. The final prediction is the average of all the tree predictions. Each tree is trained … Continue reading
Posted in Machine Learning
Leave a comment
Linear Regression With SGD Training and Consecutive Euclidean Distance Early Exit From Scratch Using C#
In general, when training a machine learning regression model using stochastic gradient descent, I do not use early-exit from the training loop. Any type of early-exit requires some sort of parameter that must be determined by trial and error, which … Continue reading
Posted in Machine Learning
Leave a comment
Quadratic Regression with Direct QR-Householder OLS Solve Training Using C#
Machine learning quadratic regression is a technique to predict a single numeric value. Thee are many ways to train a quadratic regression model. One training approach that is fast, reliable, and scales to large datasets — but is very complicated … Continue reading
Posted in Machine Learning
Leave a comment
.NET Test Automation Recipes
Software Testing
SciPy Programming Succinctly
Keras Succinctly
R Programming
Visual Studio Live
Microsoft MLADS Conference
DevIntersection Conference
Machine Learning Week
Ai4 Conference
G2E Conference
iSC West Conference
You must be logged in to post a comment.