Skip to main content

2 docs tagged with "maths"

View all tags

Broadcasting in Python and Deep Learning

Broadcasting is a powerful feature in NumPy (and many deep learning libraries) that lets you perform operations on arrays of different shapes without writing explicit for loops. This makes your code simpler, faster, and more readable.

Computing Derivatives with a Computation Graph

This notebook explains how to compute derivatives using a computation graph, following the example from Andrew Ng's neural networks course. It breaks down a simple function into smaller steps and shows how to apply the chain rule to calculate how changes in inputs affect the final output.