Complete walkthrough can be found on https://www.curiousily.com/posts/build-a-simple-neural-network-with-tensorflow-js/
Run the code on CodeSandbox
Build a simple Neural Network model in TensorFlow.js to make a laptop buying decision. Learn why Neural Networks need activation functions and how should you initialize their weights.
JavaScript
Complete walkthrough can be found on https://www.curiousily.com/posts/build-a-simple-neural-network-with-tensorflow-js/
Run the code on CodeSandbox