Appendix

1. Building Blocks of Deep Learning

Activity 1.01: Solving a Quadratic Equation Using an Optimizer

Solution

Let's solve the following quadratic equation:

Figure 1.29: Quadratic equation to be solved

Figure 1.29: Quadratic equation to be solved

We already know that the solution to this quadratic equation is x=5.

We can use an optimizer to solve this. For the optimizer, x is the variable and the cost function is the left-hand side expression, which is as follows:

Figure 1.30: Left-hand side expression

Figure 1.30: Left-hand side expression

The optimizer will find the value of x for which the expression is the ...

Get The Deep Learning Workshop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.