Simple Keras Linear Regression model

I created a Keras model to approximate a very simple linear function. This exercise really helped me understand how Keras models and neural networks in general work. Anyway, I thought I’d share the result so here it is:

Here’s a gist version if you’re pressed for time