Skip to content

Repository files navigation

ML From Scratch

This repository contains implementations of machine learning algorithms from scratch.

Structure

  • data/: Central Data Storage
  • autograd/: Scalar-based Engine (Value class, Neuron/Layer logic)
  • tensor_autograd/: Tensor-based Engine (supports @ matmul, .T transpose, and multidimensional gradients)
  • trees/: Tree-based Models (Decision Tree, Random Forest, XGBoost)
  • linear_models/: Linear Regression, Logistic Regression, SVM
  • unsupervized/: Singular Value Decomposition (SVD) and Data Compression
  • probabilistic/: MCMC/Sampling
  • utils/: Shared Helpers

Installation

pip install -r requirements.txt

About

This repo contains my implementations of various machine learning models and statistical algorithms from scratch. I built these to deepen my own understanding, and you’re welcome to use them as a learning resource too I will try to explain every step.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages