How are seeds meant to work in the quality metrics?

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

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
54/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

Start by reading ComputeQualityMetrics._set_params and the compute_quality_metrics entry point, then compare how nn_advanced handles random seeds with sd_ratio. Check the prior discussion and implementation in issue #4183 to understand the intended behavior. Done looks like clarifying whether the seed is meant to affect metrics and aligning the implementation or API with that decision.

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

Mô tả

discussion

How are seeds meant to work in the quality metrics? I want to give sd_ratio a random seed, like nn_advanced has.

compute_quality_metrics(..., seed=0) has no effect on any metric.
ComputeQualityMetrics._set_params still accepts and stores seed , but it appears that nothing reads it.
I’m wondering if seeds are meant to be per-metric, and the extension’s seed is just a dead argument that I should remove.

@alejoe91 @chrishalcrow @samuelgarcia , it looks like you thought about this for #4183, which was the last time this code seems to have been touched.

Ngôn ngữ chính
Python
Star
883
Fork
291
Merge trung bình
3 ngày 17 giờ
Pull request đã merge (30 ngày)
40

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 SpikeInterface/spikeinterface

Tất cả issue của SpikeInterface/spikeinterface

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.