Story

Show HN: Syna – Minimal ML and RL Framework Built from Scratch with NumPy

sql-hkr Sunday, October 19, 2025

Hello HN,

I built Syna to understand how modern ML frameworks like PyTorch actually work — from the ground up.

It’s a minimal, define-by-run (dynamic graph) framework inspired by DeZero, written entirely with NumPy. Unlike most libraries, Syna includes a basic reinforcement learning module right inside the same framework — no separate packages.

It’s not about speed or GPUs — it’s about clarity, simplicity, and learning the internals of machine learning. Great for students, educators, and anyone curious about what’s really happening under the hood.

GitHub: https://github.com/sql-hkr/syna

I also built a web app that visualizes how neural networks learn in real time — perfect for beginners exploring training dynamics:

GitHub: https://github.com/sql-hkr/xor Demo: https://sql-hkr.github.io/xor/

Happy hacking!

7 0
github.com
Visit article Read on Hacker News