SlideShare a Scribd company logo
Mathematics for Machine Learning: Linear Algebra
Formula Sheet
Vector operations
r + s = s + r
2r = r + r
r 2
=
i
r2
i
- dot or inner product:
r.s =
i
risi
commutative r.s = s.r
distributive r.(s + t) = r.s + r.t
associative r.(as) = a(r.s)
r.r = r 2
r.s = r s cos θ
- scalar and vector projection:
scalar projection:
r.s
r
vector projection:
r.s
r.r
r
Basis
A basis is a set of n vectors that:
(i) are not linear combinations of each other
(ii) span the space
The space is then n-dimensional.
Matrices
Ar = r
a b
c d
e
f
=
ae + bf
ce + df
A(nr) = n(Ar) = nr
A(r + s) = Ar + As
Identity: I =
1 0
0 1
clockwise rotation by θ:
cos θ sin θ
− sin θ cos θ
determinant of 2x2 matrix: det
a b
c d
= ad − bc
inverse of 2x2 matrix:
a b
c d
−1
=
1
ad − bc
d −b
−c a
- summation convention for multiplying matrices a and b:
abik =
j
aijbjk
Change of basis
Change from an original basis to a new, primed basis.
The columns of the transformation matrix B are the new
basis vectors in the original coordinate system. So
Br = r
where r is the vector in the B-basis, and r is the vector
in the original basis. Or;
r = B−1
r
If a matrix A is orthonormal (all the columns are of unit
size and orthogonal to eachother) then:
AT
= A−1
Gram-Schmidt process for constructing an
orthonormal basis
Start with n linearly independent basis vectors v =
{v1, v2, ..., vn}. Then
e1 =
v1
||v1||
u2 = v2 − (v2.e1)e1 so e2 =
u2
||u2||
... and so on for u3 being the remnant part of v3 not
composed of the preceding e-vectors, etc. ...
Transformation in a Plane or other object
First transform into the basis referred to the reflection
plane, or whichever; E−1
.
Then do the reflection or other transformation, in the
plane of the object TE.
Then transform back into the original basis E.
So our transformed vector r = ETEE−1
r.
Eigenstuff
To investigate the characteristics of the n by n matrix A,
you are looking for solutions the the equation,
Ax = λx
where λ is a scalar eigenvalue. Eigenvalues will satisfy
the following condition
(A − λI)x = 0
where I is an n by n dimensional identity matrix
- PageRank
To find the dominant eigenvector of link matrix L, the
Power Method can be iteratively applied, starting from a
uniform initial vector r.
ri+1
= Lri
A damping factor, d, can be implement to stabilize this
method as follows.
ri+1
= dLri
+
1 − d
n

More Related Content

What's hot

Олон улсын худалдаа /гадаад худалдаа/
Олон улсын худалдаа /гадаад худалдаа/ Олон улсын худалдаа /гадаад худалдаа/
Олон улсын худалдаа /гадаад худалдаа/
Adilbishiin Gelegjamts
 
Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа
Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа
Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа Adilbishiin Gelegjamts
 
Асуулгын дизайн
Асуулгын дизайнАсуулгын дизайн
Асуулгын дизайн
Гончигжавын Болдбаатар
 
Online lecture 4
Online lecture 4Online lecture 4
Online lecture 4
ediinzasagonol
 
Oyunii umchiin tuhai huuli
Oyunii umchiin tuhai huuliOyunii umchiin tuhai huuli
Oyunii umchiin tuhai huuli
Umguullin Mongol Umguulugch
 
Сэтгэмж цогцолбор сургуулийн план зураг
Сэтгэмж цогцолбор сургуулийн план зурагСэтгэмж цогцолбор сургуулийн план зураг
Сэтгэмж цогцолбор сургуулийн план зураг
Сэтгэмж Цогцолбор Сургууль
 
Strategic Management - Lecture 1
Strategic Management - Lecture 1Strategic Management - Lecture 1
Strategic Management - Lecture 1
Энхтамир Ш
 
Ias 21
Ias 21Ias 21
Ias 21
unenbat4411
 
1.1 company governance copy (2)
1.1 company governance   copy (2)1.1 company governance   copy (2)
1.1 company governance copy (2)
Du Dulmaa
 
6 призм дэлгээс
 6 призм дэлгээс 6 призм дэлгээс
6 призм дэлгээсgdavaa
 
Franchising 20161027
Franchising 20161027Franchising 20161027
Franchising 20161027
Umguullin Mongol Umguulugch
 
Innovation&tech.
Innovation&tech.Innovation&tech.
Innovation&tech.noonii
 
Types of strategies
Types of strategiesTypes of strategies
стандарт хэвийн тархалт
стандарт хэвийн тархалтстандарт хэвийн тархалт
стандарт хэвийн тархалт
Adilbishiin Gelegjamts
 
Lecture 1
Lecture 1Lecture 1
Lecture 1Bbujee
 
Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...
Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...
Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...Adilbishiin Gelegjamts
 
Mergejlee herhen songoh ve
Mergejlee herhen songoh veMergejlee herhen songoh ve
Mergejlee herhen songoh veamune
 
Нягтлан бодох бүртгэлийн үндэс хичээл 2 Шинэ Иргэншил Дээд Сургууль
Нягтлан бодох бүртгэлийн үндэс  хичээл 2 Шинэ Иргэншил Дээд СургуульНягтлан бодох бүртгэлийн үндэс  хичээл 2 Шинэ Иргэншил Дээд Сургууль
Нягтлан бодох бүртгэлийн үндэс хичээл 2 Шинэ Иргэншил Дээд СургуульChuluun Zulaa
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
oogii_dds
 

What's hot (20)

Олон улсын худалдаа /гадаад худалдаа/
Олон улсын худалдаа /гадаад худалдаа/ Олон улсын худалдаа /гадаад худалдаа/
Олон улсын худалдаа /гадаад худалдаа/
 
Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа
Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа
Мөнгөний зах зээл ба арилжааны банкны үйл ажиллагаа
 
Асуулгын дизайн
Асуулгын дизайнАсуулгын дизайн
Асуулгын дизайн
 
Online lecture 4
Online lecture 4Online lecture 4
Online lecture 4
 
Oyunii umchiin tuhai huuli
Oyunii umchiin tuhai huuliOyunii umchiin tuhai huuli
Oyunii umchiin tuhai huuli
 
Сэтгэмж цогцолбор сургуулийн план зураг
Сэтгэмж цогцолбор сургуулийн план зурагСэтгэмж цогцолбор сургуулийн план зураг
Сэтгэмж цогцолбор сургуулийн план зураг
 
Strategic Management - Lecture 1
Strategic Management - Lecture 1Strategic Management - Lecture 1
Strategic Management - Lecture 1
 
Ias 21
Ias 21Ias 21
Ias 21
 
1.1 company governance copy (2)
1.1 company governance   copy (2)1.1 company governance   copy (2)
1.1 company governance copy (2)
 
6 призм дэлгээс
 6 призм дэлгээс 6 призм дэлгээс
6 призм дэлгээс
 
Franchising 20161027
Franchising 20161027Franchising 20161027
Franchising 20161027
 
Uguulbertei bodlogo
Uguulbertei bodlogoUguulbertei bodlogo
Uguulbertei bodlogo
 
Innovation&tech.
Innovation&tech.Innovation&tech.
Innovation&tech.
 
Types of strategies
Types of strategiesTypes of strategies
Types of strategies
 
стандарт хэвийн тархалт
стандарт хэвийн тархалтстандарт хэвийн тархалт
стандарт хэвийн тархалт
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...
Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...
Олон улсын валютын харилцаа ба валютын системийн тухай ойлголт http://gelegja...
 
Mergejlee herhen songoh ve
Mergejlee herhen songoh veMergejlee herhen songoh ve
Mergejlee herhen songoh ve
 
Нягтлан бодох бүртгэлийн үндэс хичээл 2 Шинэ Иргэншил Дээд Сургууль
Нягтлан бодох бүртгэлийн үндэс  хичээл 2 Шинэ Иргэншил Дээд СургуульНягтлан бодох бүртгэлийн үндэс  хичээл 2 Шинэ Иргэншил Дээд Сургууль
Нягтлан бодох бүртгэлийн үндэс хичээл 2 Шинэ Иргэншил Дээд Сургууль
 
Questionnaire
QuestionnaireQuestionnaire
Questionnaire
 

Similar to Maths4ml linearalgebra-formula

Notes on eigenvalues
Notes on eigenvaluesNotes on eigenvalues
Notes on eigenvalues
AmanSaeed11
 
Vector space
Vector spaceVector space
Vector space
Mehedi Hasan Raju
 
matlab functions
 matlab functions  matlab functions
matlab functions
DINESH DEVIREDDY
 
ALA Solution.pdf
ALA Solution.pdfALA Solution.pdf
ALA Solution.pdf
RkAA4
 
5.vector geometry Further Mathematics Zimbabwe Zimsec Cambridge
5.vector geometry   Further Mathematics Zimbabwe Zimsec Cambridge5.vector geometry   Further Mathematics Zimbabwe Zimsec Cambridge
5.vector geometry Further Mathematics Zimbabwe Zimsec Cambridge
alproelearning
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
Ceni Babaoglu, PhD
 
Computer Network Homework Help
Computer Network Homework HelpComputer Network Homework Help
Computer Network Homework Help
Computer Network Assignment Help
 
Linear_Algebra_final.pdf
Linear_Algebra_final.pdfLinear_Algebra_final.pdf
Linear_Algebra_final.pdf
RohitAnand125
 
Lecture2 (vectors and tensors).pdf
Lecture2 (vectors and tensors).pdfLecture2 (vectors and tensors).pdf
Lecture2 (vectors and tensors).pdf
entesarkareem1
 
Vector spaces
Vector spacesVector spaces
Vector spaces
Quasar Chunawala
 
Solution set 3
Solution set 3Solution set 3
Solution set 3
慧环 赵
 
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy415.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
SujalGupta60
 
Yassin balja algebra
Yassin balja algebraYassin balja algebra
Yassin balja algebra
Yassin Balja
 
lec7.ppt
lec7.pptlec7.ppt
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
Maths Assignment Help
 
Brute force
Brute forceBrute force
Application Of vector Integration and all
Application Of vector Integration and allApplication Of vector Integration and all
Application Of vector Integration and all
MalikUmarKhakh
 
Analytic function
Analytic functionAnalytic function
Analytic function
Santhanam Krishnan
 
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
veenatanmaipatlolla
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
Ceni Babaoglu, PhD
 

Similar to Maths4ml linearalgebra-formula (20)

Notes on eigenvalues
Notes on eigenvaluesNotes on eigenvalues
Notes on eigenvalues
 
Vector space
Vector spaceVector space
Vector space
 
matlab functions
 matlab functions  matlab functions
matlab functions
 
ALA Solution.pdf
ALA Solution.pdfALA Solution.pdf
ALA Solution.pdf
 
5.vector geometry Further Mathematics Zimbabwe Zimsec Cambridge
5.vector geometry   Further Mathematics Zimbabwe Zimsec Cambridge5.vector geometry   Further Mathematics Zimbabwe Zimsec Cambridge
5.vector geometry Further Mathematics Zimbabwe Zimsec Cambridge
 
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
3. Linear Algebra for Machine Learning: Factorization and Linear Transformations
 
Computer Network Homework Help
Computer Network Homework HelpComputer Network Homework Help
Computer Network Homework Help
 
Linear_Algebra_final.pdf
Linear_Algebra_final.pdfLinear_Algebra_final.pdf
Linear_Algebra_final.pdf
 
Lecture2 (vectors and tensors).pdf
Lecture2 (vectors and tensors).pdfLecture2 (vectors and tensors).pdf
Lecture2 (vectors and tensors).pdf
 
Vector spaces
Vector spacesVector spaces
Vector spaces
 
Solution set 3
Solution set 3Solution set 3
Solution set 3
 
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy415.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
15.SVD.pdfy$Ou 0y4 oy4j oy4joyj opy4jpoy4jpoy4jpoy4
 
Yassin balja algebra
Yassin balja algebraYassin balja algebra
Yassin balja algebra
 
lec7.ppt
lec7.pptlec7.ppt
lec7.ppt
 
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
 
Brute force
Brute forceBrute force
Brute force
 
Application Of vector Integration and all
Application Of vector Integration and allApplication Of vector Integration and all
Application Of vector Integration and all
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
Matrix_PPT.pptx
Matrix_PPT.pptxMatrix_PPT.pptx
Matrix_PPT.pptx
 
2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension2. Linear Algebra for Machine Learning: Basis and Dimension
2. Linear Algebra for Machine Learning: Basis and Dimension
 

More from Nishant Upadhyay

Multivariate calculus
Multivariate calculusMultivariate calculus
Multivariate calculus
Nishant Upadhyay
 
Multivariate calculus
Multivariate calculusMultivariate calculus
Multivariate calculus
Nishant Upadhyay
 
Matrices1
Matrices1Matrices1
Matrices1
Nishant Upadhyay
 
Vectors2
Vectors2Vectors2
Mathematics for machine learning calculus formulasheet
Mathematics for machine learning calculus formulasheetMathematics for machine learning calculus formulasheet
Mathematics for machine learning calculus formulasheet
Nishant Upadhyay
 
Pandas pythonfordatascience
Pandas pythonfordatasciencePandas pythonfordatascience
Pandas pythonfordatascience
Nishant Upadhyay
 
Numpy python cheat_sheet
Numpy python cheat_sheetNumpy python cheat_sheet
Numpy python cheat_sheet
Nishant Upadhyay
 
Sqlcheetsheet
SqlcheetsheetSqlcheetsheet
Sqlcheetsheet
Nishant Upadhyay
 
Sql cheat-sheet
Sql cheat-sheetSql cheat-sheet
Sql cheat-sheet
Nishant Upadhyay
 
My sql installationguide_windows
My sql installationguide_windowsMy sql installationguide_windows
My sql installationguide_windows
Nishant Upadhyay
 
Company handout
Company handoutCompany handout
Company handout
Nishant Upadhyay
 
Python bokeh cheat_sheet
Python bokeh cheat_sheet Python bokeh cheat_sheet
Python bokeh cheat_sheet
Nishant Upadhyay
 
Foliumcheatsheet
FoliumcheatsheetFoliumcheatsheet
Foliumcheatsheet
Nishant Upadhyay
 
Python matplotlib cheat_sheet
Python matplotlib cheat_sheetPython matplotlib cheat_sheet
Python matplotlib cheat_sheet
Nishant Upadhyay
 
Python seaborn cheat_sheet
Python seaborn cheat_sheetPython seaborn cheat_sheet
Python seaborn cheat_sheet
Nishant Upadhyay
 

More from Nishant Upadhyay (15)

Multivariate calculus
Multivariate calculusMultivariate calculus
Multivariate calculus
 
Multivariate calculus
Multivariate calculusMultivariate calculus
Multivariate calculus
 
Matrices1
Matrices1Matrices1
Matrices1
 
Vectors2
Vectors2Vectors2
Vectors2
 
Mathematics for machine learning calculus formulasheet
Mathematics for machine learning calculus formulasheetMathematics for machine learning calculus formulasheet
Mathematics for machine learning calculus formulasheet
 
Pandas pythonfordatascience
Pandas pythonfordatasciencePandas pythonfordatascience
Pandas pythonfordatascience
 
Numpy python cheat_sheet
Numpy python cheat_sheetNumpy python cheat_sheet
Numpy python cheat_sheet
 
Sqlcheetsheet
SqlcheetsheetSqlcheetsheet
Sqlcheetsheet
 
Sql cheat-sheet
Sql cheat-sheetSql cheat-sheet
Sql cheat-sheet
 
My sql installationguide_windows
My sql installationguide_windowsMy sql installationguide_windows
My sql installationguide_windows
 
Company handout
Company handoutCompany handout
Company handout
 
Python bokeh cheat_sheet
Python bokeh cheat_sheet Python bokeh cheat_sheet
Python bokeh cheat_sheet
 
Foliumcheatsheet
FoliumcheatsheetFoliumcheatsheet
Foliumcheatsheet
 
Python matplotlib cheat_sheet
Python matplotlib cheat_sheetPython matplotlib cheat_sheet
Python matplotlib cheat_sheet
 
Python seaborn cheat_sheet
Python seaborn cheat_sheetPython seaborn cheat_sheet
Python seaborn cheat_sheet
 

Recently uploaded

Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
dwreak4tg
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
zsjl4mimo
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
bopyb
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 

Recently uploaded (20)

Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
一比一原版(BCU毕业证书)伯明翰城市大学毕业证如何办理
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
 
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
一比一原版(GWU,GW文凭证书)乔治·华盛顿大学毕业证如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 

Maths4ml linearalgebra-formula

  • 1. Mathematics for Machine Learning: Linear Algebra Formula Sheet Vector operations r + s = s + r 2r = r + r r 2 = i r2 i - dot or inner product: r.s = i risi commutative r.s = s.r distributive r.(s + t) = r.s + r.t associative r.(as) = a(r.s) r.r = r 2 r.s = r s cos θ - scalar and vector projection: scalar projection: r.s r vector projection: r.s r.r r Basis A basis is a set of n vectors that: (i) are not linear combinations of each other (ii) span the space The space is then n-dimensional. Matrices Ar = r a b c d e f = ae + bf ce + df A(nr) = n(Ar) = nr A(r + s) = Ar + As Identity: I = 1 0 0 1 clockwise rotation by θ: cos θ sin θ − sin θ cos θ determinant of 2x2 matrix: det a b c d = ad − bc inverse of 2x2 matrix: a b c d −1 = 1 ad − bc d −b −c a - summation convention for multiplying matrices a and b: abik = j aijbjk Change of basis Change from an original basis to a new, primed basis. The columns of the transformation matrix B are the new basis vectors in the original coordinate system. So Br = r where r is the vector in the B-basis, and r is the vector in the original basis. Or; r = B−1 r If a matrix A is orthonormal (all the columns are of unit size and orthogonal to eachother) then: AT = A−1 Gram-Schmidt process for constructing an orthonormal basis Start with n linearly independent basis vectors v = {v1, v2, ..., vn}. Then e1 = v1 ||v1|| u2 = v2 − (v2.e1)e1 so e2 = u2 ||u2|| ... and so on for u3 being the remnant part of v3 not composed of the preceding e-vectors, etc. ... Transformation in a Plane or other object First transform into the basis referred to the reflection plane, or whichever; E−1 . Then do the reflection or other transformation, in the plane of the object TE. Then transform back into the original basis E. So our transformed vector r = ETEE−1 r. Eigenstuff To investigate the characteristics of the n by n matrix A, you are looking for solutions the the equation, Ax = λx where λ is a scalar eigenvalue. Eigenvalues will satisfy the following condition (A − λI)x = 0 where I is an n by n dimensional identity matrix - PageRank To find the dominant eigenvector of link matrix L, the Power Method can be iteratively applied, starting from a uniform initial vector r. ri+1 = Lri A damping factor, d, can be implement to stabilize this method as follows. ri+1 = dLri + 1 − d n