SVDDC

Aperta
#182 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
numpy, rust
Ambito
data

Direzione di ricerca

Start by reproducing the reported SVD and matrix-multiplication timings for the [13824,273] matrix, comparing the svd and svddc routines and the ndarray dot operation with NumPy. Read the svddc API to determine valid uvt_flag values. Done means explaining the performance gap and clarifying whether the timings are expected or indicate a problem.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

performance

Hi,
I am trying to compute the SVD of a rather large matrix [13824,273] , the svd routine takes about 260s to perform the decomposition , compare to 7s with the svd routine from numpy linalg module.
And I cannot figure out how to use the svddc routine instead of the svd routine, it is not clear what values uvt_flag should be given.

Also I have noticed that matrix multiplication is very slow with ndarray dot routine compared again to numpy, for example , after the SVD if I do the matrix multiplications USVT with ndarray it takes 160s and with numpy it takes 25ms.

Is these timings expected for ndarray-linalg at this stage of development or did I do something wrong and I should expect the same speed than numpy?

Thanks

Lingua principale
Rust
Stelle
452
Fork
95
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-ndarray/ndarray-linalg

Tutte le issue di rust-ndarray/ndarray-linalg

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.