Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jefffessler/book-la-demo

Demos for "Linear Algebra for DS, ML, and SP" book
https://github.com/jefffessler/book-la-demo

data-science julia-language linear-algebra machine-learning optimization signal-processing

Last synced: 15 days ago
JSON representation

Demos for "Linear Algebra for DS, ML, and SP" book

Awesome Lists containing this project

README

        

# Demos for book "Linear algebra for DS, ML and SP"

[![license][license-img]][license-url]
[![demos][demos-img]][demos-url]

https://github.com/JeffFessler/book-la-demo

This repo contains demo code
in the
[Julia language](https://julialang.org/)
to accompany the book
"Linear Algebra for
Data Science, Machine Learning, and Signal Processing"
(formerly known as "Matrix Methods and Applications")
by Jeff Fessler
and Raj Nadakuditi
of the University of Michigan.
Published 2024 by Cambridge University Press.

The demos expect Julia 1.9 or above.

To view the demos,
click this button:
[![demos][demos-img]][demos-url]

[![Table of contents][toc-img]][toc-url]
of the book.

[![Errata][errata-img]][errata-url]
list.

logo

## Samples

Here are some examples of the kinds of figures generated in the demos.

- [Binary classification](https://jefffessler.github.io/book-la-demo/generated/demos/09/class01)
binary-class

- [Video foreground/background separation](https://jefffessler.github.io/book-la-demo/generated/demos/10/foreback)

- [Non-negative matrix factorization](https://jefffessler.github.io/book-la-demo/generated/demos/10/nmf)

- [Photometric stereo](https://jefffessler.github.io/book-la-demo/generated/demos/07/photometric3)

- [Preconditioning](https://jefffessler.github.io/book-la-demo/generated/demos/09/precon1)

- [Source localization](https://jefffessler.github.io/book-la-demo/generated/demos/07/source-local)

- [Spectral clustering](https://jefffessler.github.io/book-la-demo/generated/demos/08/spectral-cluster)

# Demo index

- [1.1 Julia overview](https://jefffessler.github.io/book-la-demo/generated/demos/01/1-intro/)
- [1.2 Julia vectors](https://jefffessler.github.io/book-la-demo/generated/demos/01/2-vector/)

- [2.1 convolution](https://jefffessler.github.io/book-la-demo/generated/demos/02/conv-mat)
- [2.2 dot product](https://jefffessler.github.io/book-la-demo/generated/demos/02/dot)
- [2.3 outer product](https://jefffessler.github.io/book-la-demo/generated/demos/02/outer)
- [2.4 matrix-vector multiplication](https://jefffessler.github.io/book-la-demo/generated/demos/02/mul-mat-vec)
- [2.5 heatmap](https://jefffessler.github.io/book-la-demo/generated/demos/02/gauss2d)

- [4.1 SVD of finite differences](https://jefffessler.github.io/book-la-demo/generated/demos/04/svd-diff)

- [5.1 lifting for LS](https://jefffessler.github.io/book-la-demo/generated/demos/05/ls-lift)
- [5.2 LS fits](https://jefffessler.github.io/book-la-demo/generated/demos/05/ls-fit1)
- [5.3 LS cost functions](https://jefffessler.github.io/book-la-demo/generated/demos/05/ls-cost1)
- [5.4 frames and image denoising with wavelets](https://jefffessler.github.io/book-la-demo/generated/demos/05/frame-cycle)
- [5.5 cross validation](https://jefffessler.github.io/book-la-demo/generated/demos/05/ls-cv)

- [6.1 robust regression](https://jefffessler.github.io/book-la-demo/generated/demos/06/robust-regress)
- [6.2 Procrustes](https://jefffessler.github.io/book-la-demo/generated/demos/06/procrustes)

- [7.1 Rank-1](https://jefffessler.github.io/book-la-demo/generated/demos/07/rank1)
- [7.2 Photometric stereo](https://jefffessler.github.io/book-la-demo/generated/demos/07/photometric3)
- [7.3 Source localization via MDS](https://jefffessler.github.io/book-la-demo/generated/demos/07/source-local)
- [7.4 SURE](https://jefffessler.github.io/book-la-demo/generated/demos/07/lr-sure)
- [7.5 PCA](https://jefffessler.github.io/book-la-demo/generated/demos/07/pca)

- [8.1 Spectral clustering](https://jefffessler.github.io/book-la-demo/generated/demos/08/spectral-cluster)
- [8.2 Laplacian eigenmaps](https://jefffessler.github.io/book-la-demo/generated/demos/08/eigmap)
- [8.3 Kronecker sum](https://jefffessler.github.io/book-la-demo/generated/demos/08/kron-sum-inv)

- [9.1 Preconditioning](https://jefffessler.github.io/book-la-demo/generated/demos/09/precon1)
- [9.2 Binary classification](https://jefffessler.github.io/book-la-demo/generated/demos/09/class01)

- [10.1 Matrix completion](https://jefffessler.github.io/book-la-demo/generated/demos/10/lrmc-m)
- [10.2 Matrix completion](https://jefffessler.github.io/book-la-demo/generated/demos/10/lrmc3)
- [10.3 Video foreground/background separation](https://jefffessler.github.io/book-la-demo/generated/demos/10/foreback)
- [10.4 Nonnegative matrix factorization](https://jefffessler.github.io/book-la-demo/generated/demos/10/nmf)

- [11.1 Neural networks: MLP](https://jefffessler.github.io/book-la-demo/generated/demos/11/ring3)

- [12.1 RMT and roundoff](https://jefffessler.github.io/book-la-demo/generated/demos/12/round1)
- [12.2 RMT and Noise](https://jefffessler.github.io/book-la-demo/generated/demos/12/gauss1)
- [12.3 Outliers](https://jefffessler.github.io/book-la-demo/generated/demos/12/outlier1)
- [12.4 Missing data](https://jefffessler.github.io/book-la-demo/generated/demos/12/complete1)

[toc-img]: https://img.shields.io/badge/-Table_of_Contents-purple
[toc-url]: https://htmlpreview.github.io/?https://github.com/JeffFessler/book-la-demo/blob/main/toc.htm
[demos-img]: https://img.shields.io/badge/-Demos-blue
[demos-url]: https://JeffFessler.github.io/book-la-demo
[errata-img]: https://img.shields.io/badge/-Errata-blue
[errata-url]: https://github.com/JeffFessler/book-la-demo/blob/main/errata1.md
[license-img]: https://licensebuttons.net/l/by-nc-nd/3.0/88x31.png
[license-url]: LICENSE