Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "weight_deltas" which fixes #25 and #3 #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Biswajit-Banerjee
Copy link

In "Chapter 5: Gradient Descent Learning with Multiple Inputs" the variable "weight_deltas" is missing as reported in issue #25 and #3, which has been added.

@@ -53,6 +53,7 @@
"pred = neural_network(input,weights)\n",
"error = (pred - true) ** 2\n",
"delta = pred - true\n",
"weight_deltas = ele_mul(delta, input)\n",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weight_deltas needs to come after the ele_mul function, otherwise 'ele_mul' is not defined

@smith-mw
Copy link

Duplicate of #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants