16 comments

[ 2.8 ms ] story [ 39.1 ms ] thread
(comment deleted)
Matrix multiplication introduced before vector addition... the "Linear Algebra Done Right" in me is screaming inside.

That being said, it is definitely cool to have a Jupyter-notebook based set of examples of practical linear algebra

Vector addition is just matrix multiplication in a homogeneous coordinate system, what's the problem?
I got my hands on a stanford Math 55 textbook and tried to do the exercises in numpy.
Can you tell us the name of it?
Sorry, I meant Math 51

It's title is:

"Linear Algebra, Multivariable Calculus, and Modern Applications, Math 51 course text prepared by the Stanford University Math Department"

Linear Algebra is dope, as in when we got to apply some mid-level linear to a real business problem and it worked i got high
Allen Downey (author of the above) has a number of books on computer science-y things. You can buy hardcopies but I think all of them are also just freely available.

Here's a few:

Think Complexity

https://github.com/AllenDowney/ThinkComplexity2

Think DSP

https://github.com/AllenDowney/ThinkDSP

Think Stats

https://github.com/AllenDowney/ThinkStats/

Think Bayes

https://github.com/AllenDowney/ThinkBayes2/

I love his blog too! Probably overthinking it.
Beyond regression, I’d like to see chapters on statistical topics like PCA, CCA. This textbook format which interleaves code and prose is the perfect way to show how scikitlearn’s decomposition.cca and decomposition.pca are implemented, e.g. the SVD matrix decomposition, etc.
what's the deal with the loop example? am i supposed to understand what this represents before going through the material?
(comment deleted)
I saw a linear algebra “textbook” on Twitter in maybe 2022? It was black background and bright text with a good amount of graphs like someone’s incredibly long blog post. I’ve tried a few times to find it since but haven’t had any luck.

This looks a bit more involved but lovely I think I’ll try it. I read Think Bayes and thought it was great.

Downey's "Think X" series is consistently the on-ramp for people who learned to code before they learned the math, and honestly at this point everything is linear algebra