Books (By Me!)
Events (I Speak At!)
-
Recent Posts
Archives
Categories
Category Archives: Scikit
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
Support Vector Regression From Scratch Using Python With SGD (SSGD) Training
Bottom line: I put together a demo of (kernelized) support vector regression that uses stochastic gradient descent (SGD) training. It works fine but training is relatively slow. Actually, the technique I used is stochastic sub-gradient descent (SSGD) but it’s common … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Machine Learning Myths: The Bias Term in Kernel Ridge Regression Models and in Support Vector Regression Models
In spite of decades of research in machine learning, there are still dozens of pieces of common, but just plain incorrect, pieces of knowledge floating about on the Internet. I came across one recently. Does a kernel ridge regression model … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Linear Ridge Regression From Scratch Using C# to Sync With the scikit Ridge Module
Linear ridge regression (often called just ridge regression, but not to be confused with kernel ridge regression) uses mathematical L2 regularization to prevent model weights from becoming too large, which in turn limits model overfitting. Whew! There’s a lot of … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Checking Machine Learning Training Data for Multicollinearity Using VIF (Variance Inflation Factor) from Scratch Python
In machine learning, if training data is multicollinear, the interpretability of a resulting linear model will likely be poor. Multicollinear data has two or more rows that are highly correlated mathematically. For example, if a set of training data has … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Machine Learning Regression Showdown: Kernel Ridge Regression vs. Support Vector Regression Using Scikit
Bottom line: I compared kernel ridge regression (KRR) and support vector regression (SVR), using a small set of synthetic data. The results were essentially the same. Over the past few years, based on several machine learning regression projects that I … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Why You Should Never Use L1 Regularization or Lasso Regression
There is absolutely no reason to ever use L1 regularization. Well, maybe that’s a bit too extreme of a statement. But, “I never use L1 regularization or lasso regression unless I’m forced to by a legacy system” is accurate. I … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Support Vector Regression Using From-Scratch-Python SVR with SGD Applied to the Diabetes Dataset
I write code almost every day. Like most skills, writing code is something that must be practiced. And besides that, I enjoy writing code. I had recently implemented a version of kernel support vector regression (SVR), from-scratch, using Python. So, … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Example of Anomaly Detection Using scikit IsolationForest
I came across a relatively obscure module in the scikit-learn library called IsolationForest. The module is used for anomaly detection. In a nutshell, if you apply a decision tree to a dataset, because of the way the branches are created, … Continue reading
Posted in Machine Learning, Scikit
Leave a comment
Why I Never Use a Voting Regressor Model for Machine Learning Regression
Bottom line: I never use a voting regressor model because the number of meta parameters (which regression models to use) and model parameters (such as a model learning rate) is astronomically large and therefore unmanageable in practice. A voting regressor … Continue reading
Posted in Machine Learning, Scikit
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.