Numpy Polynomial Fitting Redux

It recently came to my attention that my old post on numpy polynomial fitting needed to be updated. There is a much more natural way to do this using the numpy.polynomial submodule which I will outline in this post. %matplotlib inline %config InlineBackend.figure_format = 'svg' import numpy as np import matplotlib.pyplot as plt Generating data We will create some different mock data this time #…