Skip to content

Instantly share code, notes, and snippets.

@Tan-Moy
Created December 10, 2017 08:26
Show Gist options
  • Save Tan-Moy/ca40f20d6576a8a4b20e44a2f7d66019 to your computer and use it in GitHub Desktop.
Save Tan-Moy/ca40f20d6576a8a4b20e44a2f7d66019 to your computer and use it in GitHub Desktop.
# notice small alpha value
alpha = 0.0001
iters = 1000
# theta is a row vector
theta = np.array([[1.0, 1.0]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment