Had some fun tonight doing gradient descent linear...
# random
t
Had some fun tonight doing gradient descent linear regression from scratch in Kotlin, starting with a simple y = mx + b fitting. Once you get the multivariable calculus, it's stunning and beautiful how little code is required. https://gist.github.com/thomasnield/fbe2e2205233388577e6abe6f5bbe897
K 4
k
repeat(epochs) { ... }
😉
👍 2
e
cool idea reading values directly from a gist!