Building an Artificial Neural Network in One Line of Code

The simplest neural network with TensorFlow 2

Kasper Müller
Towards Data Science
5 min readJun 2, 2021

--

Image by mikemacmarketing on Wikimedia

There are tons of great theoretical articles out there on the anatomy and mathematics of artificial neural networks, so I am going to take another approach to writing about and teaching this subject. In this article, we are going to get our hands dirty right away!

--

--

Mathematician, programmer and writer interested in the mysteries of the Universe, fascinated by the human mind, music and things that I don’t understand.