Mathematics for Machine Learning – Day 12

An offer you literally can refuse.

You’re not gonna like today, it’s going to be really short since I’m only going to cover one section and it’s been a long day. Though I’d rather be consistent than anything else, it doesn’t negate the fac…


This content originally appeared on DEV Community and was authored by Terra

Matrix negotiation meme

An offer you literally can refuse.

You're not gonna like today, it's going to be really short since I'm only going to cover one section and it's been a long day. Though I'd rather be consistent than anything else, it doesn't negate the fact that this is a poor time management from me. Since I'm not a politician, I won't sugarcoat that this will happen and I can't guarantee this won't happen again but I'll keep moving forward.

Rank

So, you're stuck in low ELO hell, be it in chess, Valorant or Dota 2, we've all been there but how do you get from low ELO (or dare I say deficient rank) to a full rank? But we're going too far, let's start all the way back.

What's a rank?

A rank is the number of linearly independent columns of a matrix

A∈Rm×n A \in \reals^{m\times n} ARm×n

equals the number of linearly independent rows. The rank of a is denoted by:

Rank of A A=rk(A) \text{Rank of A } A = rk(A) Rank of A A=rk(A)

Is it really that simple?

Of course not.

Properties of rank

  1. The column rank equals the row rank
rk(A)=rk(AT) rk(A) = rk(A^T) rk(A)=rk(AT)
  1. The columns of
A∈Rm×n span a subspace U⊆Rm A \in \reals^{m\times n} \text{ span a subspace } U \subseteq \reals^m ARm×n span a subspace URm

with the dimensions of U equal the rank of A. Later on, this subspace will be called the image/range.

  1. The rows of
A∈Rm×n span a subspace W⊆Rn A \in \reals^{m\times n} \text{ span a subspace } W \subseteq \reals^n ARm×n span a subspace WRn

with the dimensions of W equal the rank of A. A basis of W can be found by applying Gaussian elimination to A.

  1. For all
A∈Rm×n and all b∈Rm A \in \reals^{m\times n} \text{ and all } b \in \reals^m ARm×n and all bRm

it holds that the linear equation system Ax = b can be solved if and only if the rank of A equals the rank of A|b, where A|b denotes the augmented system.

  1. For all
A∈Rm×n the subspace of solutions for Ax=0 A \in \reals^{m\times n} \text{ the subspace of solutions for } Ax = 0 ARm×n the subspace of solutions for Ax=0

posesses dimensions

n−rk(A) n - rk(A) nrk(A)

Later on we'll call ths subspace the kernel or the null space.

  1. A matrix
A∈Rm×n A \in \reals^{m\times n} ARm×n

has full rank if its rank equals the largest possible rank for a matrix of the same dimensions. This means that the rank of a full rank matrix is the lesser of the number of rows and columns. i.e. rk(A) = min(m,n). A matrix is said to be rank deficient if it doesn't have full rank.

Conclusion.

If you're friend is asking for tips to climb the rank? Just tell them to be a matrix with each column being a pivot column.

Because honestly, a full rank rank is just a basis but in matrices and not vectors.

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


This content originally appeared on DEV Community and was authored by Terra


Print Share Comment Cite Upload Translate Updates
APA

Terra | Sciencx (2024-07-19T15:34:52+00:00) Mathematics for Machine Learning – Day 12. Retrieved from https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/

MLA
" » Mathematics for Machine Learning – Day 12." Terra | Sciencx - Friday July 19, 2024, https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/
HARVARD
Terra | Sciencx Friday July 19, 2024 » Mathematics for Machine Learning – Day 12., viewed ,<https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/>
VANCOUVER
Terra | Sciencx - » Mathematics for Machine Learning – Day 12. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/
CHICAGO
" » Mathematics for Machine Learning – Day 12." Terra | Sciencx - Accessed . https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/
IEEE
" » Mathematics for Machine Learning – Day 12." Terra | Sciencx [Online]. Available: https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/. [Accessed: ]
rf:citation
» Mathematics for Machine Learning – Day 12 | Terra | Sciencx | https://www.scien.cx/2024/07/19/mathematics-for-machine-learning-day-12/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.