Tensor Flow Demo

Hey, I'm Paul. I'm a full stack javascript developer and a curious mind. I've been wanting to get my head around tensor flow and modern machine learning paradigms for a while now. The release of tensorflowJS was just the kick in the tush that I needed.

The following demos are based on these tutorials. Some of the code I borrowed (where I did, I made a note of it in the source) but most of it I rewrote in a TDD workflow in order to fully understand what is happening.

Fit a linear curve [source]

Our model

Our model is based on the quadratic equation with the predefined coefficients. We add some noise and generate a pile of training data. Here's a graph of the line and the generated training data.