Closed davidbp closed 9 years ago
Small error in the comment inside grad_desc. Notifce that X = np.linspace(-8, 8, 1000) is a matrix so you cannot do grad_desc(X, eps=0.01, prec=0.00001) You should pick an x_0 value (real vale not matrix).
Small error in the comment inside grad_desc. Notifce that X = np.linspace(-8, 8, 1000) is a matrix so you cannot do grad_desc(X, eps=0.01, prec=0.00001) You should pick an x_0 value (real vale not matrix).