My Math Forum  

Go Back   My Math Forum > College Math Forum > Calculus

Calculus Calculus Math Forum


Thanks Tree1Thanks
  • 1 Post By skipjack
Reply
 
LinkBack Thread Tools Display Modes
August 13th, 2019, 06:16 AM   #1
Newbie
 
Joined: Aug 2019
From: Italy

Posts: 2
Thanks: 0

Unhappy Chain code and neural networks

I'm reading Tariq Rashid's book "Make Your Own Neural Network".

It is a brilliant introduction to NNs (rare to see a technical book so engaging to all ranges of abilities)...but I think there is a typo which is not in the online errata for the book.

See the attached image. I don't think the -2 in the last equation is correct, shouldn't it be simply 2?

It could be that the author has anticipated himself, because the error function derivative is actually taken away from the weights in the neural network. But as far as the maths go, should that be -2 or simply 2?

It could also be that I don't understand the chain code!
Attached Images
File Type: jpg Chain-code-nn.jpg (15.2 KB, 8 views)
Owen Ransen is offline  
 
August 13th, 2019, 07:50 AM   #2
Global Moderator
 
Joined: Dec 2006

Posts: 21,015
Thanks: 2250

Differentiating (1 - u)² = 1 - 2u + u² w.r.t. u gives -2 + 2u = -2(1 - u).
Thanks from Owen Ransen
skipjack is offline  
August 13th, 2019, 08:45 PM   #3
Newbie
 
Joined: Aug 2019
From: Italy

Posts: 2
Thanks: 0

Quote:
Originally Posted by skipjack View Post
Differentiating (1 - u)² = 1 - 2u + u² w.r.t. u gives -2 + 2u = -2(1 - u).
That shows you how long it is that I have not done this stuff. Many thanks!

Owen
Owen Ransen is offline  
Reply

  My Math Forum > College Math Forum > Calculus

Tags
chain, chain code, code, differentiation, networks, neural, neural networks



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forex trading from engineer with good background in mathematics and neural networks Konstantinos Economics 2 October 5th, 2018 10:54 AM
Neural Network optimization algorithms AlexP Computer Science 0 February 20th, 2017 01:51 AM
Neural networks - backpropagation sampie Computer Science 0 November 28th, 2012 11:37 AM
Neural networks Spook Computer Science 1 August 18th, 2012 06:11 AM
Code generation, probability of generating same code twice NateL Algebra 2 July 15th, 2008 07:07 PM





Copyright © 2019 My Math Forum. All rights reserved.