Show HN: Syna – Minimal ML and RL Framework Built from Scratch with NumPy
Show HN (score: 5)Description
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!
More from Show
Show HN: A terminal spreadsheet editor with Vim keybindings
Show HN: A terminal spreadsheet editor with Vim keybindings While speccing out this spreadsheet tool, I realized that I never had to think about the keybindings. It all just came naturally from Vim. Normal/insert/visual modes, hjkl navigation, dd/yy/p, :w, :q. The usual muscle memory works.<p>It supports CSV/TSV import and export, and a native .cell format that preserves formulas. The formula engine handles SUM, AVERAGE, COUNT, MIN, MAX, and IF with range references.<p>The codebase is a Cargo workspace: a pure cell-sheet-core library (no TUI dependency) and a cell-sheet-tui crate on top of ratatui. Early days, but it's usable.<p>To try it out: cargo install cell-sheet-tui<p>Feedback of any kind is greatly appreciated!
No other tools from this source yet.