HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tonio

no profile record

Submissions

Dead-simple Neovim Coding Assistant in 400 Lines of Lua

github.com
2 points·by tonio·ปีที่แล้ว·0 comments

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

github.com
1 points·by tonio·2 ปีที่แล้ว·0 comments

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

github.com
37 points·by tonio·2 ปีที่แล้ว·6 comments

comments

tonio
·2 ปีที่แล้ว·discuss
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 ปีที่แล้ว·discuss
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.