Skip to content

Instantly share code, notes, and snippets.

Avatar

Thatcher Chamberlin ThatcherC

View GitHub Profile
View SoundGradientDescent.py
from math import *
import time
d = 0.0000001 #precision, used for derivatives
eps = .2 #coefficient for step size
x = 5 #starting x and y
y = 5
tx= 0
ty = 0