Repo for demonstrating gradient descent algorithms used in Machine Learning in Python 3.
non_vec_batch.py
- Non-vectorised implementation of batch gradient descent
non_vec_batch.py
- Non-vectorised implementation of batch gradient descent
batch_and_stochastic
- Vectorised implementation of stochastic gradient descent and batch gradient descent
Install dependencies using:
pipenv install --dev
Before running scripts need to go into pipenv shell:
pipenv shell
Copyright (c) 2020 Hasan Zaidi
Published under the MIT License.