Giter Club home page Giter Club logo

tt_hosvd's Introduction

TT_HOSVD

This repository contains the code used in the Master Thesis `Randomized low-rank approximation of matrices and tensors' by Davide Pradovera ([email protected]).

Main folder

The main folder contains the following files:

  • LICENSE
  • README.md
  • startup.m (file to add library directories to MATLAB path)
  • PM.m (power method for general matrices)
  • gen_matrix_decay.m (algorithm to generate matrices with prescribed decay)
  • gen_TT_tensor_decay.m (algorithm to generate TT-tensors whose unfoldings have a prescribed decay)
  • recompress.m (method to recompress a matrix in low-rank format)
  • round_nonortho.m (rounding of a TT-tensor without orthogonalization step)
  • truncate_nonortho.m (truncation of a TT-tensor without orthogonalization step)

./MAT folder

The MAT folder contains the files regarding the compression of matrices (Chapter 2 in the Thesis):

  • round_randomized.m (rounding of a matrix using Algorithm 3 in the Thesis)
  • round_randomized_2norm.m (rounding of a matrix using Algorithm 5 in the Thesis)
  • round_randomized_2norm_PM.m (rounding of a matrix using Algorithm 4 in the Thesis)
  • round_randomized_normA.m (rounding of a matrix using Algorithm 2 in the Thesis)
  • truncate_randomized.m (truncation of a matrix using Algorithm 1 in the Thesis with Gaussian random vectors)
  • truncate_randomized_rank1.m (truncation of a matrix using Algorithm 1 in the Thesis with rank-1 random vectors)
  • truncate_randomized_uniform.m (truncation of a matrix using Algorithm 1 in the Thesis with uniform random vectors)
  • example.m (example of compression of matrix generated using ../gen_matrix_decay.m)

./MAT_HADA folder

The MAT_HADA folder contains the files regarding the compression of Hadamard products of matrices (Section 4.1 in the Thesis):

  • round_hada_randomized.m (rounding of a Hadamard product of matrices using Algorithm 13 in the Thesis)
  • truncate_hada_randomized.m (truncation of a Hadamard product of matrices using a modification of Algorithm 1 in the Thesis)
  • example.m (example of compression of the Hadamard product of matrices generated using ../gen_matrix_decay.m)

./TT folder

The TT folder contains the files regarding the compression of TT-tensors (Chapter 3 in the Thesis):

  • find_range_unfolding_TT.m (single step within Algorithm 11 in the Thesis)
  • round_TT_randomized.m (rounding of a TT-tensor using Algorithm 12 in the Thesis)
  • truncate_TT_randomized.m (truncation of a TT-tensor using Algorithm 11 in the Thesis)
  • update_stored_range_TT.m (algorithm for the extraction of new samples within Algorithms 11 and 12 in the Thesis)
  • example.m (example of compression of TT-tensors generated using ../gen_TT_tensor_decay.m)

./TT_HADA folder

The TT_HADA folder contains the files regarding the compression of Hadamard products of TT-tensors (Section 4.3 in the Thesis):

  • find_range_hada_unfolding_TT.m (single step within Algorithm 14 in the Thesis)
  • left_project_hada_TT.m (computation of line 10 within Algorithm 14 in the Thesis)
  • multiply_hada_TT.m (computation of line 6 within Algorithm 14 in the Thesis)
  • round_hada_TT_randomized.m (rounding of a Hadamard product of TT-tensors using Algorithm 15 in the Thesis)
  • truncate_hada_TT_randomized.m (truncation of a Hadamard product of TT-tensors using Algorithm 14 in the Thesis)
  • update_stored_range_hada_TT.m (algorithm for the extraction of new samples within Algorithms 14 and 15 in the Thesis)
  • example.m (example of compression of the Hadamard product of TT-tensors generated using ../gen_TT_tensor_decay.m)

tt_hosvd's People

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.