Mathematics for Machine Learning - Day 13
Terra
Posted on July 20, 2024
Linear Mappings
Let me slap you with a formula first.
Consider
If
What a mapping? and why did you start with a formula?
Good question. It's because you might realize this from the property of distributivity but with a different symbol also if I'm being jumped by an equation, you're going to get jumped as well.
It's preserving the vector while being able to scale it and don't forget with mathematical notations, Phi can be anything so long as it doesn't violate any rules stated, it can be a scalar, a vector, a matrix, even a set!... Actually it can't be a set, I'd get slapped by a mathematician for trying to map a vector with a set.
What use is mapping?
I don't know :D but much like in Panda's map (It's a python library) a mapping can be a an important tool and I see similarities from this type of mapping.
Also, the mapping itself isn't the main topic, it's:
Linear mapping
A mapping is called linear mapping if:
That means that it's defined as linear mapping when a mapping is done to a vector and will result in a vector. Linear mapping can also be called linear transformation / vector space homomorphism
Consider a mapping
Phi will be called differently depending on the conditions
Injective
Surjective
This means that every element in W can be reached from V using Phi
Bijective
Bijective will fulfill both injective and surjective. This can be undone by mapping the inverse of the previous mapping
Special cases of linear mapping
Example
On the other hand :
Finite-dimensional vector
(From theorem 3.59 in Axler, 2015)
V and W is isomorphic if and only if dim(V) = dim(W)
Intuition
This means that V and W are kind of the same thing, since they can be transformed to one another without incurring any loss.
Consider the vector V, W, X
For linear mappings:
the mapping that is also linear will be
For isomorphism
If:
Then:
For linear mapping (2)
If:
Then:
Acknowledgement
I can't overstate this: I'm truly grateful for this book being open-sourced for everyone. Many people will be able to learn and understand machine learning on a fundamental level. Whether changing careers, demystifying AI, or just learning in general, this book offers immense value even for fledgling composer such as myself. So, Marc Peter Deisenroth, A. Aldo Faisal, and Cheng Soon Ong, thank you for this book.
Source:
Axler, Sheldon. 2015. Linear Algebra Done Right. Springer
Deisenroth, M. P., Faisal, A. A., & Ong, C. S. (2020). Mathematics for Machine Learning. Cambridge: Cambridge University Press.
https://mml-book.com
Posted on July 20, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.