We have put together some examples of different well known machine learning algorithms. This is to make it easier to understand how it looks like when working with machine learning in code.
The code is written as easy-to-understand and to play with, rather than for efficiency.
Play around with this code if you want to understand how to build neural networks only using numpy. This is great to get a better understanding of how it works when training a neural network.
In this code we are using the MNIST Dataset, which is a dataset containing image data of images of handwritten digits. Each sample with a corresponding label.
Use Kmeans clustering in its most common form, with seeding or with seeding and/or constraint.
In this code we are using the dataset IRIS, which is easy to play around with for this task.
Decision Tree Classification
You can use Decision tree for classification, it is using the Gini index for split.
In this code we are using the Bank Dataset, which can easily be replaced in the code.
Here we are providing three different versions of Linear regression:
Simple Linear Regression
Simple Linear Regression using SGD
Multi-variable Linear Regression using SGD
Here we are using the Insurance Dataset for 1., Wine Dataset for 2. and ex1data1 Dataset for 3.