https://github.com/bolner/visual-matrix-decomposition
Visualizing matrix decompositions
https://github.com/bolner/visual-matrix-decomposition
csharp dotnet-core linear-algebra matrix-factorization visualization
Last synced: over 1 year ago
JSON representation
Visualizing matrix decompositions
- Host: GitHub
- URL: https://github.com/bolner/visual-matrix-decomposition
- Owner: bolner
- License: other
- Created: 2019-08-18T17:55:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-01T20:42:27.000Z (almost 7 years ago)
- Last Synced: 2025-02-08T12:46:58.554Z (over 1 year ago)
- Topics: csharp, dotnet-core, linear-algebra, matrix-factorization, visualization
- Language: C#
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Visualizing Matrix Decomposition
This `.NET Core` application generates animations. It applies LU and QR decompositions to linear transformations, and shows the effects of the factors independently. See example result:
[](https://www.youtube.com/watch?v=AIOEtorHctc)
Other videos:
- QR decomposition: https://www.youtube.com/watch?v=CWEhxN0hemE
- Continuous QR decomposition: https://www.youtube.com/watch?v=ZDH84Yu8B3E
- An older version of the LU dec.: https://www.youtube.com/watch?v=Mc89G9_kPwk
- Eigendecomposition: https://www.youtube.com/watch?v=ZpqwO0348Dw
- Eigendecomposition with shearing: https://www.youtube.com/watch?v=hF6pPGwvvYg (1440p)
# Install `.NET Core`
On Ubuntu 18.04 (as root):
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
dpkg -i packages-microsoft-prod.deb
add-apt-repository universe
apt-get install apt-transport-https
apt-get update
apt-get install dotnet-sdk-2.2
On Windows:
- https://dotnet.microsoft.com/download
# Run the application
dotnet run -c Release
# To convert the images to videos, use FFMPEG:
"E:\ffmpeg\ffmpeg.exe" -start_number 0 -loop 1 -t 120 -i "E:\path\to\source\frame_%4d.png" -c:v libx264 -b 2800K -vf "fps=30" E:\path\to\dest\video.mp4