Two examples are presented in the following colab notebook:
One of them uses the linear model we just talked about, another uses 3rd order polynomial model to mitigate underfitting.
2021-02-16 MATH math