Skip to Content
Hands-On Mathematics for Deep Learning
book

Hands-On Mathematics for Deep Learning

by Jay Dawani
June 2020
Intermediate to advanced
364 pages
13h 56m
English
Packt Publishing
Content preview from Hands-On Mathematics for Deep Learning

The secant method

In Newton's method, we calculated the first and second derivatives, but calculating the Hessian in a large problem is not ideal.

Suppose we have a function, , and n = 50. If we take the first derivative of f, with respect to each case of xi, we get 50 equations. Now, if we calculate the second derivative, we have 2,500 equations, with respect to xi and xj, in a matrix. However, because Hessians are symmetric, we only really have to calculate 1,275 second derivatives. This is still a considerably large amount.

The secant method uses the Newton method, but instead of computing the second derivative, it estimates them using ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Math for Deep Learning

Math for Deep Learning

Ronald T. Kneusel
Deep Learning with PyTorch

Deep Learning with PyTorch

Eli Stevens, Thomas Viehmann, Luca Pietro Giovanni Antiga

Publisher Resources

ISBN: 9781838647292