Skip to content

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

Open
Biswajit-Banerjee wants to merge 1 commit intoiamtrask:masterfrom
Biswajit-Banerjee:patch-1
Open

Added "weight_deltas" which fixes #25 and #3#26
Biswajit-Banerjee wants to merge 1 commit intoiamtrask:masterfrom
Biswajit-Banerjee:patch-1

Conversation

@Biswajit-Banerjee
Copy link
Copy Markdown

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.

"pred = neural_network(input,weights)\n",
"error = (pred - true) ** 2\n",
"delta = pred - true\n",
"weight_deltas = ele_mul(delta, input)\n",
Copy link
Copy Markdown

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
Copy Markdown

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