ESP Biography
ALAN CHEN, ESP Teacher
Major: Not available. College/Employer: MIT Year of Graduation: 2025 |
|
Brief Biographical Sketch:
Not Available. Past Classes(Clicking a class title will bring you to the course's section of the corresponding course catalog)C15280: Automatic Differentiation with Pure Python in Splash 2022 (Nov. 19 - 20, 2022)
we will implement an automatic differentiation engine from scratch
In PyTorch, one can compute arbitrary gradients easily, such as:
import torch
a = torch.tensor(3., requires_grad=True)
print(torch.autograd.grad(a**(3*a-4), a)) # prints (tensor(1205.8884),)
You never needed to tell torch what the derivative of x^(3x-4) is; torch figures it out itself, using something called automatic differentiation. Automatic differentiation allows for differentiating arbitrary functions, which forms the basis of Machine learning frameworks, such as PyTorch or JAX.
In this class, you will learn how automatic differentiation works, and implement it from scratch in vanilla python. Hopefully, after this class, you will better understand how your favorite ML framework works under the hood, and the performance implications of those frameworks.
C15022: Let's make a discord bot! in Spark 2022 (Mar. 12 - 13, 2022)
Learn how to make and host a public discord bot using python and replit.com
|