Companion code for Machine Learning From Scratch — 10 core ML algorithms built from scratch with NumPy, compared with Scikit-learn and PyTorch.
-
Updated
Jul 19, 2026 - Jupyter Notebook
Companion code for Machine Learning From Scratch — 10 core ML algorithms built from scratch with NumPy, compared with Scikit-learn and PyTorch.
Implementation of a small GPT-style transformer from scratch in PyTorch. Learn how Large Language Models work by building, training, generating text, and visualizing attention.
A convolutional neural network (CNN) built from scratch using only NumPy to classify handwritten digits from the MNIST dataset.
"One Hidden Layer Neural Network" from Scratch
A compact collection of classic machine learning algorithms implemented from scratch in Python for learning and experimentation.
"Deep Neural Network" from Scratch
This repository implements a vector search solution based on image and text embeddings. Users can search for similar products using an image or a textual description.
"CNN" from Scratch
Includes the codes and report for Take Home Exam 2 of the CENG483 course (Introduction to Computer Vision). The purpose of this THE is to gain insight related to harris interest point detection.
A brand new programming language designed for developers with diverse coding interests!
"Logistic Regression" from Scratch
从零手撕大模型整个生命周期的核心算子(如tokenization、RMSNorm、RoPE和LoRA),附带对应论文的阅读详解和笔记整理!!
A STRONG CHESS BOT WITH A GUI INTERFACE MADE PURELY IN PYTHON FROM SCRATCH
Building a Large Language Model from scratch for deep understanding — inspired by Sebastian Raschka’s book, implemented entirely by hand.
My first artificial neuron built from scratch in Python. It learns to approximate a linear function from data points using gradient descent, MSE, and manually calculated gradients, with a real-time visualization of the learning process.
ML algorithms implemented from scratch in Python, with small projects for better understanding.
Includes the codes and report for Take Home Exam 1 of the CENG483 course (Introduction to Computer Vision). The purpose of the THE is familiarize ourselves with the concept of various types of histogram.
Write the K Nearest Neighbors classifier from scratch in Python. Test it on email spam classification dataset.
Interactive CLI-based KNN implementation from scratch with data processing, statistics, visualization, feature normalization, and accuracy computation functionalities.
This is the source code of the work for Assignment-2, Statistical Methods in AI, 5th Semester, IIITH, '22
To associate your repository with the from-scratch-in-python topic, visit your repo's landing page and select "manage topics."