HackerTrans
トップ新着トレンドコメント過去質問紹介求人

tonio

no profile record

投稿

Dead-simple Neovim Coding Assistant in 400 Lines of Lua

github.com
2 ポイント·投稿者 tonio·昨年·0 コメント

Show HN: CEFA – Piano Chord Progression Practice Tool (Raylib)

github.com
1 ポイント·投稿者 tonio·2 年前·0 コメント

Ultra simplified "MNIST" in 60 lines of Python with NumPy

github.com
37 ポイント·投稿者 tonio·2 年前·6 コメント

コメント

tonio
·2 年前·議論
Beautiful! Same in spirit as what I was going for, but even better. I really like the way the weights are updated in this one. Thanks for showing me this!
tonio
·2 年前·議論
you got me, lol. to be fair the only reason numpy is there is because truly pure python doesn't have matmuls, and I didn't think reimplementing it wouldn't serve a didactic purpose.

A cool idea for a v2 without numpy would be implementing matmuls with lists, matrix transpose with zip() and switching np.exp for math.exp. And getting all that on fewer lines as possible.