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:

https://github.com/kmclaugh/fastai_courses/blob/master/ai-playground/Keras_Linear_Regression_Example.ipynb

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

https://gist.github.com/kmclaugh/0a377ee8a8126fdfde4e6b7d237bfb4f