Back to projects
MicroML
Niket Girdhar / March 29, 2026
This is a personal project
Project Overview
MicroML is an educational machine learning library written in pure C99 with no external dependencies. The goal is to build core ML concepts from first principles while keeping the codebase clean and readable.
Key Features
- Linear Regression and Logistic Regression with configurable training criteria
- K-Nearest Neighbors classification and K-Means clustering
- Matrix, vector, and dataset utilities for ML workflows
- Model persistence support (
save/load) for supported models
Why I built it
I built MicroML to strengthen fundamentals in machine learning and systems programming by implementing complete model pipelines in C instead of relying on high-level ML frameworks.