Skip to content

High Order SVD and ACA Homework from Low Rank approximation lecture

License

Notifications You must be signed in to change notification settings

PierreSp/LowRankTensorApproximation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Low Rank Tensor Approximation - Mini Project

High Order SVD and ACA project of the Low Rank approximation lecture

How to run:

  1. Install all requirements '''pip install -r requirements.txt''' in your favorite virtualenv
  2. Run (within the '''lra''' folder) '''python python setup.py build_ext --inplace'''
  3. Task 1 / HOSVD: run (within the '''lra''' folder) python task1.py domension --acc rel_error with the demanded dimension and relative error. --plot creates plots of the singular values
  4. Task 4 / ACA: run (within the '''lra''' folder) python task4.py domension --acc rel_error with the demanded dimension and relative error. --full runs full pivoting. --speed deactiveates calculation of full error, which requires the full matrix
  5. Benchmarks and tests are in LRA_tests.py and have to be run with pytest with its benchmarking module. Run with --slowrun to run all benchmarks (takes a lot of time)

About

High Order SVD and ACA Homework from Low Rank approximation lecture

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages