This repo contains machine learning algorithms coded from scratch. These implementations are not designed for high-performance, the focus lies on coding a generic implementation only with necessary code.
There will be two blog posts about the code and the machine learning algorithms as whole. You can find the gradient boosting one here and the one about regression trees here.
Cheers