These 2 implementations are part of the assignments in the course Mathematics for Machine Learning . These assignments were hosted as kaggle competitions.
Assignment 1 - https://www.kaggle.com/competitions/finalmathematics-for-machine-learning-assignment-1?rvi=1
Assignment 2 - https://www.kaggle.com/competitions/mathematics-for-machine-learning-assignment-2