SciPy - Curve Fitting and Regression
Which of the following correctly defines a custom model function compatible with
scipy.optimize.curve_fit to fit a cubic polynomial y = a*x**3 + b*x**2 + c*x + d?