Get it? because they're in space, but if they're on earth the vector (in) space disappears and only 0 remains :D
Vector Space
With your knowledge regarding groups we can start to discuss regarding vector spaces! and if you read till the end, the mathematical notations if vector space will be a breeze!
What's a vector space?
With the four conditions from group hold true, we can start to add operations outside of the group. Such as:
A real valued vector space:
Those operations are:
Side note: The brackets doesn't mean anything, the +
sign doesn't work at the beginning of KaTeX
What does that?
Good question, much like my mental health, let's have a breakdown!
Abelian Group
An Abelian group is the same as a normal group but with an additional condition:
Then
In the book, there's a lot of examples to ensure we have a good understanding on what Abelian and groups in general are, but I won't go too deep in it here. I feel so long as we understood the conditions for a group and the additional one for Abelian, we're good to go.
For example:
is not a group, because though all natural number additions are still part of the natural number and with the addition of 0 (Which is why there's a subscript 0) means there's a neutral number.
The "group" lacks inverse numbers, in addition and subtraction means it lacks negative numbers.
Distributivity
Yeah, yeah, this is the third time I've mentioned distributivity so I'll just show the formula and continue on.
Associativity
Ditto (I really hope you're not skipping chapters, there's a lot of same conditions that would be better to start from vectors than here straight away)
Neutral elements
... Hi.
A few remarks
The only difference for the vectors is that Rn is for vertical matrices so it's the same as Rnx1 but R1xn is for horizontal matrices.
Vector Subspaces.
The author reminded in us the importance of vector subspaces as it will be revisited later on (i.e. Chapter 10 Dimensionality Reduction)
Let:
be a vector space, and
Then:
Subsets
To determine:
The subset needs to inherit many properties from the vector space
So what?
Point two and three are the Closure condition from V
Example
- For every vector space, the trivial subspace are the vector space itself and {0}
- Only example D is a subspace of R (with the usual inner/outer operations). In A and C, the closure property is violated and B doesn't contain 0.
- The solution set of a hogenous system of linear equations Ax = 0 with n unknowns x = [x1, x2, ..., xn] transposed is a subspace of Rn
- The solution of an inhomogenous system of linear equations Ax = b, b not equaling 0 is not a subspace of Rn.
- The intersection of arbitrary many subspaces is a subspace itself.
If you're confused, so am I, let me try to break it down.
- All subspace have at least two subspaces. The vector space itself and 0.
- A violates the closure condition since we can use additions to find elements outside of the box
- B violates the neutral element condition since it doesn't intersect with (0,0)
- C violates the closure condition since using conditions we can find elements outside the weird shape as well.
- D fulfills all conditions, no violation for associativity, distributivity, neutral element nor inverse element.
- Ax = 0 is a homogenous system. This is a subspace
Why? because it fulfills the neutral element again, the value returns to zero and if it's all zero (Just like example D) it doesn't violate any conditions
- Ax = b with b not 0 is a in-homogenous system. This isn't a subspace.
- Let's say we use example A and C. Assuming both of them are from the same vector space. There are areas where example A overlap with example C and in the areas where those subspaces overlap/intersect (Intersect is for points) will also be a subspace.
Ending Note
Honestly, yesterday's short summary was worth it. It was so much faster understanding this concept after fully understanding groups and sets. So we covered two topics today, vector spaces and their subspaces, horray! :D
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:
Deisenroth, M. P., Faisal, A. A., & Ong, C. S. (2020). Mathematics for Machine Learning. Cambridge: Cambridge University Press.
https://mml-book.com
Top comments (0)