diff --git a/notebooks/04_Generalisation_and_overfitting.ipynb b/notebooks/04_Generalisation_and_overfitting.ipynb index 5941269..6503533 100644 --- a/notebooks/04_Generalisation_and_overfitting.ipynb +++ b/notebooks/04_Generalisation_and_overfitting.ipynb @@ -257,6 +257,7 @@ "ax = fig.add_subplot(1, 1, 1)\n", "for weight, centre in zip(weights, centres):\n", " ys += weight * basis_function(xs, centre, scale)\n", + "ys += bias\n", "ax.plot(xs, ys)\n", "ax.set_xlabel('Input', fontsize=14)\n", "ax.set_ylabel('Output', fontsize=14)"