• Stars
    star
    2,289
  • Rank 20,117 (Top 0.4 %)
  • Language
    Jupyter Notebook
  • License
    MIT License
  • Created over 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lecture Notes for Linear Algebra Featuring Python. This series of lecture notes will walk you through all the must-know concepts that set the foundation of data science or advanced quantitative skillsets. Suitable for statistician/econometrician, quantitative analysts, data scientists and etc. to quickly refresh the linear algebra with the assistance of Python computation and visualization.

Updated on Jan 2023 Presentation1

Lectures of Linear Algebra MIT License

These lecture notes are intended for introductory linear algebra courses, suitable for university students, programmers, data analysts, algorithmic traders and etc.

The lectures notes are loosely based on several textbooks:

  1. Linear Algebra and Its Applications by Gilbert Strang
  2. Linear Algebra and Its Applications by David Lay
  3. Introduction to Linear Algebra With Applications by DeFranza & Gagliardi
  4. Linear Algebra With Applications by Gareth Williams

cover-min

However, the crux of the course is not about proving theorems, but to demonstrate the practices and visualization of the concepts. Thus we will not engage in precise deduction or notation, rather we aim to clarify the elusive concepts and thanks to Python/MATLAB, the task is much easier now.

Prerequisites

Though the lectures are for beginners, it is beneficial that attendants had certain amount of exposure to linear algebra and calculus.

And also the attendee are expected to have basic knowledge (3 days training would be enough) of

  • Python
  • NumPy
  • Matplotlib
  • SymPy

All the codes are written in an intuitive manner rather than efficient or professional coding style, therefore the codes are exceedingly straightforward, I presume barely anyone would have difficulty in understanding the codes.

The notes were written in JupyterLab, the interative plot requires ipympl. To install, type in conda install -c conda-forge ipympl if you have JupyterLab 3.x. Check ipymplpage for more details.

What to Expect from Notes

These notes will equip you with most needed and basic knowledge for other subjects, such as Data Science, Econometrics, Mathematical Statistics, Financial Engineering, Control Theory and etc., which heavily rely on linear algebra. Please go through the tutorial patiently, you will certainly have a better grasp of the fundamental concepts of linear algebera. Then further step is to study the special matrices and their application with your domain knowledge.

Contents

It is advisable to either open the notebooks in Jupyter nbviewers (links below) or download them, since github has lots of rendering mistakes in LaTeX and sometimes even missing plots.

Lecture 1 - System of Linear Equations
Lecture 2 - Basic Matrix Algebra
Lecture 3 - Determinants
Lecture 4 - LU Decomposition
Lecture 5 - Vector Operations
Lecture 6 - Linear Combination
Lecture 7 - Linear Independence
Lecture 8 - Vector Space and Subspace
Lecture 9 - Basis and Dimension
Lecture 10 - Column, Row and Null Space
Lecture 11 - Linear Transformation
Lecture 12 - Eigenvalues and Eigenvectors
Lecture 13 - Diagonalization
Lecture 14 - Application to Dynamic System
Lecture 15 - Inner Product and Orthogonality
Lecture 16 - Gram-Schmidt Process and Decomposition
Lecture 17 - Symmetric Matrices and Quadratic Form
Lecture 18 - Singular Value Decomposition
Lecture 19 - Multivariate Normal Distribution

Screen Shots Examples

截图01 截图03 截图00 截图00 截图01 截图02 截图03

More Repositories

1

Econometrics-With-Python

Tutorials of econometrics featuring Python programming. This is a crash course for reviewing the most important concepts and techniques of basic econometrics, the theories are presented lightly without hustles of derivation and Python codes are straightforward.
Jupyter Notebook
348
star
2

Basic-Statistics-With-Python

Introduction to statistics featuring Python. This series of lecture notes aim to walk you through all basic concepts of statistics, such as descriptive statistics, parameter estimations, hypothesis testing, ANOVA and etc. All codes are straightforward to understand.
Jupyter Notebook
104
star
3

Bayesian-Statistics-Econometrics

Bayesian Statistics-Econometrics
Jupyter Notebook
78
star
4

Time-Series-and-Financial-Engineering-With-Python

A series of lessons on time series analysis with Python
Jupyter Notebook
62
star
5

Probability_Theory

A quick introduction to all most important concepts of Probability Theory, only freshman level of mathematics needed as prerequisite.
Jupyter Notebook
43
star
6

Matplotlib_Essentials

An Essential Graphic Primer of Matplotlib
Jupyter Notebook
28
star
7

Notes_For_Macroeconomic_Analyst

These are notes for macroeconomic analysis, summarised in past years for macro trading/analysis.
Jupyter Notebook
26
star
8

Pandas_From_Basics_To_Advance

A series of tutorials on Pandas skills
Jupyter Notebook
8
star
9

Economics_of_Exchange_Rate_And_Forex_Trading

A complete tutorial covering acadmeic knowledge and market skills of Forex trading
Jupyter Notebook
5
star
10

interview_questions

A collection of interview questions on Python and quant topics
Jupyter Notebook
4
star
11

Advanced_Macroeconomics_With_Python

Advanced Macroeconomic Analysis with Python modelling
4
star
12

weijie-chen

Hi
PowerShell
3
star
13

R_primer_for_Pythoneers

R primer for Pythoneers
Jupyter Notebook
3
star
14

Python_100_Challenge

100 Challenges from basic to advance
3
star
15

SomeMacroData

Some macro data demonstration
Jupyter Notebook
2
star
16

github-slideshow

A robot powered training repository 🤖
Ruby
2
star
17

MacroNotes

My notes for textbooks long time ago
1
star
18

Macro_Notes

1
star