Stacking machine learning models: Light GBM and a neural network
Using Python to stack a Light GBM model and a simple neural network.
Exploring the iris dataset using Python and K-Nearest Neighbours
The Scikit documentation includes some great examples. Looking through the examples I found them difficult to interpret at first. These are my own notes on some variations of these examples, with some detailed comments added. Links to reference information are included throughout.
Using coremltools to convert a scikit-learn model to Core ML format
I wanted to convert a trained Scikit-learn logistic regression model into a Core ML format model which could be used in iOS.
Linear Regression in Swift
Linear regression is a technique for creating a model of the relationship between two (or more) variable quantities. This is an explanation of the technique with code examples in Swift.