Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Thin SVD

Aperta
#414 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Start by reading lax/src/svd.rs, especially the SvdWork implementation and the documented LAPACK operation table, then compare the entry point in lax/src/lib.rs with the SVD trait in ndarray-linalg/src/svd.rs. Determine how the gesvdx-based thin or economy SVD should fit the existing API; done means the capability is implemented and its supported operation documentation is updated.

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

Descrizione

I was studying PICARD (a faster version of ICA than "FastICA") and saw some mention of various types of SVD, which I'm already familiar with. One of the variants was "thin" SVD. I can see that there are other libs that save computation by only computing this "thin" variant and I was wondering if maybe ndarray-linalg could too.

I did a search of the code earlier and saw no mention of it, I'm curious if it'd be worth developing.

My understanding is that there are separate LAPACK functions/instructions you'd use for 'economy'/'thin' SVD, gesvdx being the relevant one

For reference I am interested in its use in whitening in this crate

So two things I see there are that

  1. there's this line saying it is unimplemented

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L63-L67

  1. there's this comment making v clear which LAPACK instructions are supported

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L6-L8

and (from right to left in that table)

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L180-L181

https://github.com/rust-ndarray/ndarray-linalg/blob/49e964be06c830a04442e48e0f9a89d2000bbbd1/lax/src/svd.rs#L313-L314

I'd be interested in this but for now just pointing out where the relevant parts of code are, have not dug deeper! 👍

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.