Neural Networks, Gradient Descent.
g(x) plt.figure(figsize=(10, 6)) plt.plot(x, y, label='g(x) = $x^2 - 16$') plt.axhline(0, color='black', lw=0.7) plt.scatter(xs, g(np.array(xs)), color='red', zorder=5) plt.plot(xs, g(np.array(xs)), color='red', linestyle='--', label='Iterations') plt.title('Gradient Descent') plt.xlabel('x')