9.4. Math#

9.4.1. Math notation symbols dictionary#

Math notation is probably the only language ever devised without swear words.

But, seeing the complexity of some of the things written on papers, you can’t help but gently say “What the heck!”.

Jokes aside, notation is a universal math language and you need a darn good dictionary to excel at it.

Folks at Math Vault put together the most comprehensive list of math notation symbols, their meaning, their LaTeX code - all categorized by subject, context, or theories.

It is an excellent companion for anyone trying to learn machine learning and deep learning through papers and implement the theories.

https://mathvault.ca/hub/higher-math/math-symbols/

9.4.2. 460 free textbooks on math, science and statistics#

If you are one of the people who get a dopamine hit by collecting more books than they need, this list is for you.

FreeCodeCamp put together a list of over 450 free texts on math, science and statistics, each a single click away: https://bit.ly/3ygDI4u

9.4.3. Handcalcs library in Python#

Handcalcs is a nifty Python library that converts math code into formulas that look like they were written by hand.

It has got %%render magic command that automatically converts a cell’s code into written LaTeX output, which you can save as PDF later.

Handcalcs also exposes a decorator that show the calculation of custom functions with user-provided values just like you would use substitute variables in a formula while solving a problem.

Link to handcalcs in the first comment!

Link to handcalcs: https://github.com/connorferster/handcalcs

9.4.4. Rachel Thomas’s Computational Linear Algebra#

YouTube gems: Computational Linear Algebra Course taught by Rachel Thomas, co-founder of Fast AI with Jeremy Howard.

According to Forbes, Rachel Thomas is one of the 20 most incredible women in AI. And if she is teaching a course for free on YouTube, you better take it.

Her Computational Linear Algebra course will give you hands-on practice in implementing the theory of matrix computations in code. The topics covered are:

  • Parallelization

  • SVD - Singular Value Decomposition

  • PCA - Principle Component Analysis

  • LU-factorization

  • PageRank

Linear Algebra is one of the core components of ML math and being able to understand its concepts at a level where you can implement them in code goes a long way.

Link to the course in the first comment.

Link to the course: https://bit.ly/3vmMBHN

9.4.5. 3Blue1Brown blogs on math#

Love 3Blue1Brown videos? Wait till you read the articles!

I recently discovered that 3Blue1Brown website features written lessons of Grant Sanderson’s most popular videos. Given that all his videos are exceptional, the number of articles (with play-with-it-yourself animations) is roughly around 100, grouped into 16 categories.

9.4.6. ML pen and paper exercises#

If you keep relearning math concepts for ML, you need some solid deliberate practice.

Watching YouTube videos and reading articles on math concepts gives you the comfortable illusion of “making progress” and “learning something worthwhile”. In reality, you are just sitting inside your comfort zone, learning things you know you will inevitable relearn.

Give yourself some serious challenge by solving ML exercises which can mostly be done using pen and paper. You can download them from Arxiv or from the GitHub repo.

Links to both in the first comment👇

Exercises (GitHub): https://github.com/michaelgutmann/ml-pen-and-paper-exercises

Exercises (Arxiv): https://arxiv.org/abs/2206.13446

9.4.7. ForAllPeople - universal metrics library in Python#

ForAllPeople is a one-of-a-kind Python library that implements all the units in SI (International System of Units).

All the common and uncommon units in math, physics and chemistry are implemented as variable names and are calculation-aware. In other words, correctly using different units in a single calculation can give totally different units as you would have gotten by using a sample physics formula.

Link to the library: https://github.com/connorferster/forallpeople