SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

Quaternion notations
Quaternion notationsQuaternion notations
Quaternion notationsSalvador M.
 
Addition of Vectors | By Head to Tail Rule
Addition of Vectors | By Head to Tail RuleAddition of Vectors | By Head to Tail Rule
Addition of Vectors | By Head to Tail RuleAdeel Rasheed
 
Matrices
MatricesMatrices
Matricesdaferro
 
Analytical geometry
Analytical geometryAnalytical geometry
Analytical geometrySiyavula
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - MathematicsDrishti Bhalla
 
Graph of a linear equation vertical lines
Graph of a linear equation   vertical linesGraph of a linear equation   vertical lines
Graph of a linear equation vertical linesjulienorman80065
 
Mathematics fundamentals
Mathematics fundamentalsMathematics fundamentals
Mathematics fundamentalsSardar Alam
 
Absolute Value Functions & Graphs
Absolute Value Functions & GraphsAbsolute Value Functions & Graphs
Absolute Value Functions & Graphstoni dimella
 
Matrices And Determinants
Matrices And DeterminantsMatrices And Determinants
Matrices And DeterminantsDEVIKA S INDU
 
Absolute value functions
Absolute value functionsAbsolute value functions
Absolute value functionsJessica Garcia
 
Introduction of matrix
Introduction of matrixIntroduction of matrix
Introduction of matrixPankaj Das
 
Math15 Lecture1
Math15 Lecture1Math15 Lecture1
Math15 Lecture1hdsierra
 
2.8 a absolute value functions
2.8 a absolute value functions2.8 a absolute value functions
2.8 a absolute value functionsfthrower
 

La actualidad más candente (20)

Quaternion notations
Quaternion notationsQuaternion notations
Quaternion notations
 
Addition of Vectors | By Head to Tail Rule
Addition of Vectors | By Head to Tail RuleAddition of Vectors | By Head to Tail Rule
Addition of Vectors | By Head to Tail Rule
 
Matrices
MatricesMatrices
Matrices
 
Matrices
MatricesMatrices
Matrices
 
Analytical geometry
Analytical geometryAnalytical geometry
Analytical geometry
 
Determinants - Mathematics
Determinants - MathematicsDeterminants - Mathematics
Determinants - Mathematics
 
Graph of a linear equation vertical lines
Graph of a linear equation   vertical linesGraph of a linear equation   vertical lines
Graph of a linear equation vertical lines
 
Matlabtut1
Matlabtut1Matlabtut1
Matlabtut1
 
Mathematics fundamentals
Mathematics fundamentalsMathematics fundamentals
Mathematics fundamentals
 
Absolute Value Functions & Graphs
Absolute Value Functions & GraphsAbsolute Value Functions & Graphs
Absolute Value Functions & Graphs
 
Matrices and determinants-1
Matrices and determinants-1Matrices and determinants-1
Matrices and determinants-1
 
Matrices And Determinants
Matrices And DeterminantsMatrices And Determinants
Matrices And Determinants
 
Functions
FunctionsFunctions
Functions
 
Absolute value functions
Absolute value functionsAbsolute value functions
Absolute value functions
 
Introduction of matrix
Introduction of matrixIntroduction of matrix
Introduction of matrix
 
Math15 Lecture1
Math15 Lecture1Math15 Lecture1
Math15 Lecture1
 
2.8 a absolute value functions
2.8 a absolute value functions2.8 a absolute value functions
2.8 a absolute value functions
 
Representation
RepresentationRepresentation
Representation
 
Fuzzy(2)
Fuzzy(2)Fuzzy(2)
Fuzzy(2)
 
Graphing systems
Graphing systemsGraphing systems
Graphing systems
 

Similar a Mathematics for Machine Learning: Linear Algebra Formula Sheet

Notes on eigenvalues
Notes on eigenvaluesNotes on eigenvalues
Notes on eigenvaluesAmanSaeed11
 
ALA Solution.pdf
ALA Solution.pdfALA Solution.pdf
ALA Solution.pdfRkAA4
 
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 Cambridgealproelearning
 
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 TransformationsCeni Babaoglu, PhD
 
Linear_Algebra_final.pdf
Linear_Algebra_final.pdfLinear_Algebra_final.pdf
Linear_Algebra_final.pdfRohitAnand125
 
Lecture2 (vectors and tensors).pdf
Lecture2 (vectors and tensors).pdfLecture2 (vectors and tensors).pdf
Lecture2 (vectors and tensors).pdfentesarkareem1
 
Solution set 3
Solution set 3Solution set 3
Solution set 3慧环 赵
 
Yassin balja algebra
Yassin balja algebraYassin balja algebra
Yassin balja algebraYassin Balja
 
Application Of vector Integration and all
Application Of vector Integration and allApplication Of vector Integration and all
Application Of vector Integration and allMalikUmarKhakh
 
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 DimensionCeni Babaoglu, PhD
 
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksJinTaek Seo
 

Similar a Mathematics for Machine Learning: Linear Algebra Formula Sheet (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
 
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
 
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeksBeginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
Beginning direct3d gameprogrammingmath05_matrices_20160515_jintaeks
 

Más de Nishant Upadhyay

Más de 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
 

Último

Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Seán Kennedy
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 
Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Seán Kennedy
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxBoston Institute of Analytics
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryJeremy Anderson
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 217djon017
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFAAndrei Kaleshka
 
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...GQ Research
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...Amil Baba Dawood bangali
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Machine learning classification ppt.ppt
Machine learning classification  ppt.pptMachine learning classification  ppt.ppt
Machine learning classification ppt.pptamreenkhanum0307
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...limedy534
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...ssuserf63bd7
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 

Último (20)

Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...Student profile product demonstration on grades, ability, well-being and mind...
Student profile product demonstration on grades, ability, well-being and mind...
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...Student Profile Sample report on improving academic performance by uniting gr...
Student Profile Sample report on improving academic performance by uniting gr...
 
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptxNLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
NLP Project PPT: Flipkart Product Reviews through NLP Data Science.pptx
 
Defining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data StoryDefining Constituents, Data Vizzes and Telling a Data Story
Defining Constituents, Data Vizzes and Telling a Data Story
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2Easter Eggs From Star Wars and in cars 1 and 2
Easter Eggs From Star Wars and in cars 1 and 2
 
How we prevented account sharing with MFA
How we prevented account sharing with MFAHow we prevented account sharing with MFA
How we prevented account sharing with MFA
 
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
Biometric Authentication: The Evolution, Applications, Benefits and Challenge...
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
NO1 Certified Black Magic Specialist Expert Amil baba in Lahore Islamabad Raw...
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Machine learning classification ppt.ppt
Machine learning classification  ppt.pptMachine learning classification  ppt.ppt
Machine learning classification ppt.ppt
 
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
Effects of Smartphone Addiction on the Academic Performances of Grades 9 to 1...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
Statistics, Data Analysis, and Decision Modeling, 5th edition by James R. Eva...
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 

Mathematics for Machine Learning: Linear Algebra Formula Sheet

  • 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