# homemade-machine-learning

> Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained

- Type: skill
- Field: Learning & Education
- Repository: https://github.com/trekhleb/homemade-machine-learning
- GitHub stars: 24828
- Licence: MIT
- Language: Jupyter Notebook
- Last push: 2025-11-23
- Page: https://imutechz.in/agents/homemade-machine-learning

## What it is
Homemade Machine Learning provides Python implementations of popular machine learning algorithms with interactive Jupyter Notebook demos and mathematical explanations. Each algorithm is built from scratch without third-party library shortcuts to help learners understand the underlying mathematics. The repository covers supervised learning (linear and logistic regression) and unsupervised learning (clustering), with demos runnable in the browser via Binder.

## Features
- from-scratch algorithm implementations
- interactive jupyter notebook demos
- mathematical explanations for each algorithm
- binder support for browser-based execution
- covers regression and classification
- includes mnist and fashion mnist demos

## Best for
- learning ml mathematics
- understanding algorithm internals
- educational experimentation
- course supplement for andrew ng ml

## Pros
- clear mathematical explanations
- interactive browser-based demos
- no production dependencies
- based on reputable coursera course

## Cons
- not for production use
- requires jupyter environment
- limited to core algorithms

Tags: machine-learning, educational, python, jupyter, from-scratch, regression, classification, clustering
