It’s common to find blog posts referencing the venerable Make utility in the pursuit of reproducible workflows in Data Science. What is less common is an actual tutorial covering a real-world scenario in constructing a Makefile.
One of the most basic tasks in science and engineering is fitting a model to some data. Doing so in Python is strait forward using
curve_fitfrom scipy.optimize. In the same way seaborn builds on matplotlib by creating a high-level interface to common statistical graphics, we can expand on the curve fitting process by building a simple, high-level interface for defining and visualizing these sorts of optimization problems.