Reproducibility `sc.settings` options

Aperta
#4,563 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bioinformatics, python

Direzione di ricerca

The payload names no files or tests; the design lives in the sc.settings API and the proposed sc.settings.rng option. Start by reading the comment thread (the linked comment from @jpintar and the Zulip discussion on deterministic defaults) to see what has been agreed. Done means maintainers have settled the default behaviour and the RNG-versus-seed type, and that is a design decision, not a code change to make alone.

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

Descrizione

What kind of feature would you like to request?

sc.settings.reproducible = True | False should control a global "is everything that follows reproducible or not?" False will give faster algorithms than True. https://github.com/scverse/scanpy/issues/4563#issuecomment-7226322452 from @jpintar as discussed is better (I wrote this hastily). sc.settings.rng = SeedLike | RNGLike | None is definitely a better design!

Please describe your wishes

https://scverse.zulipchat.com/#narrow/channel/328272-scanpy/topic/Deterministic.20by.20default.3F/with/643650445 has surfaced that many people do want fully reproducible notebooks in a simpler way than passing in a RNG (state) repeatedly.

To this end, a settings seems the sensible option - its default is still up for debate but a way to globally change whether the analysis is seeded or not is likely desirable.

Lingua principale
Python
Stelle
2.6k
Fork
809
Merge medio
1g 1h
PR unite (30g)
79

Preparare l'ambiente

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 scverse/scanpy

Tutte le issue di scverse/scanpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.