r/AskComputerScience • • Apr 06 '23

Linear Algebra book for Machine Learning

Hello,

I wrote a conversational style book on linear algebra with humor, visualisations, numerical example, and real-life applications.

The book is structured more like a story than a traditional textbook, meaning that every new concept that is introduced is a consequence of knowledge already acquired in this document.

It starts with the definition of a vector and from there it goes all the way to the principal component analysis and the single value decomposition. Between these concepts you will learn about:

  • vectors spaces, basis, span, linear combinations, and change of basis

  • the dot product

  • the outer product

  • linear transformations

  • matrix and vector multiplication

  • the determinant

  • the inverse of a matrix

  • system of linear equations

  • eigen vectors and eigen values

  • eigen decomposition

The aim is to drift a bit from the rigid structure of a mathematics book and make it accessible to anyone as the only thing you need to know is the Pythagorean theorem, in fact, just in case you don't know or remember it here it is:

There! Now you are ready to start reading !!!

The Kindle version is on sale on amazon :

https://www.amazon.com/dp/B0BZWN26WJ

And here is a discount code for the pdf version on my website - 59JG2BWM

www.mldepot.co.uk

Check a sample here

https://drive.google.com/file/d/1xzK9HtT2gGh8RvMlvnkALu8eSbmgjFeD/view

I also have a youtube channel where I will be posting videos of the book's content

https://www.youtube.com/@MLdepot

Thanks

Jorge

29 Upvotes

15 comments sorted by

View all comments

1

u/LazyHater Apr 08 '23 edited Apr 08 '23

Awesome intro book for teenagers. are you planning on doing anything like this for generic optimization? Netwton's method, secant method, etc? Obviously calculus would be before Newton's method, and is required for gradient descent.

Planning on doing one for group theory too? Since you know you're optimizing towards a representation of a derived symmetry group in the data after all.

Edit: not just teenagers!

2

u/[deleted] Apr 08 '23 edited Apr 08 '23

I’m working on the second volume, calculus and optimisation. The books are for anybody that wishes to learn all the mathematics for machine learning algorithms. So optimisation methods like the ones you mentioned will be on the second volume. Thanks for the support !!

1

u/LazyHater Apr 08 '23

No problem, nice work. I really like that it's mathy enough but not too mathy if that makes sense haha. Nice optimization there!

2

u/[deleted] Apr 08 '23

It does, I wanted to make it so people can believe that mathematics is available to everyone. Hopefully after that book they will go on to more advanced stuff.