Reproducibility `sc.settings` options

Đang mở
#4,563 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
18/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
bioinformatics, python
Lĩnh vực
data, developer-experience

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
2.6k
Fork
809
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
79

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của scverse/scanpy

Tất cả issue của scverse/scanpy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.