Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Empiricism and the limits of gradient descent. Parent comment
Here's a quick gist[0] doing it using least-squares, and learning it exactly (also, for B in the third row you may have intended 35 instead of 45?).
This simple regression model learns exactly the weights (-1, 1)—equivalently, it learns -A + B = C.
------
[0] https://gist.github.com/guillean/6f3ff05fa99b2b377fcf309bdc4...
There are no comments on this comment yet.
Here's a quick gist[0] doing it using least-squares, and learning it exactly (also, for B in the third row you may have intended 35 instead of 45?).
This simple regression model learns exactly the weights (-1, 1)—equivalently, it learns -A + B = C.
------
[0] https://gist.github.com/guillean/6f3ff05fa99b2b377fcf309bdc4...