R

Exploring the iris dataset using R

Python

Logistic Regression, a simple example and scikit-learn

Exploring the scikit-learn iris dataset, K-Nearest Neighbours

K-fold cross validation on the iris dataset

Swift

Linear Regression in Swift

Linear algebra in Swift: a matrix struct data type. A matrix struct data type to simplify linear algebra using the Accelerate framework and higher order functions. Operator overloading is used to make the matrix calculations more readable.

A Swift implementation of the Newton-Raphson method An implementation of the Newton-Raphson method for finding the roots of a mathematical function.

Using coremltools to convert a scikit-learn model to Core ML format