siAyush / ScratchML

Implementations of the Machine Learning models and algorithms from scratch using NumPy only.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License

Python NumPy License

About

Implementations of the Machine Learning models and algorithms from scratch using NumPy only. The purpose of this project is to learn the internal working of algorithms not to produce optimized algorithms.

Implementations

Supervised Learning

Unsupervised Learning

Deep Learning

Installation

$ git clone https://github.com/siAyush/ScratchML.git
$ cd ScratchML
$ python3 setup.py install

Run Examples

$ python3 scratch_ml/demo/{filename}.py

Note : "filename" is replaced by the file you want to run.

Example:

$ python3 scratch_ml/demo/k_nearest_neighbor.py

Examples

Linear Regression

$ python3 scratch_ml/demo/linear_regression.py

Linear Regression

Gradient Boosting Classifier

$ python3 scratch_ml/demo/gradient_boosting_classifier.py

Gradient Boosting Classifier

Neural Network

$ python3 scratch_ml/demo/neural_network.py

Neural Network

Neural Network

Neural Network

Convolutional Neural Network

$ python3 scratch_ml/demo/convolutional_neural_network.py

CNN

CNN

About

Implementations of the Machine Learning models and algorithms from scratch using NumPy only.

License:MIT License


Languages

Language:Python 100.0%