2x-1 is like a hello world of TensorFlow. I built a single-neuron neural network (Simplest NN/Perceptron possible). To learn from the data (By intention I have given data points of equation y=2*x-1) and figure out the equation from the given data. The fun part is all this happens on the user side and in the browser (Model will train on the browser). Visit the website and check the console (F12 > Console).