models: event-aligned signal branch (pool conv features by base boundaries)

Đang mở
#397 0 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 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
15/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python, pytorch

Hướng nghiên cứu

Start with the pooling in conv_lstm.toml (lines 79-85 and the head at 128-135) and tcn_dwell_residual.toml (59-65), then read segment_mean_matrix in models/components.py (56-78) and the ONNX section of CLAUDE.md. Done means a new [[variants]] entry pools conv features by seq_to_sig_map so position k is base k, the head reads the focus base explicitly, verify_onnx passes, and a paired-seed run on a run-held-out split compares it to the existing arm.

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

Mô tả

enhancement review-2026-10

Review finding 4 (verified). The ConvLSTM/TCN TOMLs (conv_lstm.toml:79-85, tcn_dwell_residual.toml:59-65) pool the signal into kmer_len equal bins independent of base boundaries, and the head reads kmer_len // 2 (conv_lstm.toml:128-135), which is wrong for asymmetric contexts. CLAUDE.md constraint 8 is nominal.

Acceptance criteria

  • New layer pooling conv features by the per-chunk seq_to_sig_map (reuse segment_mean_matrix, models/components.py:56-78), so position k is base k; new [[variants]] entry in the TOML, not a new class.
  • Head indexes the focus base explicitly rather than the middle bin.
  • ONNX export still passes verify_onnx and loads without value_info issues (see CLAUDE.md ONNX section).
  • Paired-seed comparison against the existing arm on a run-held-out split.

Non-goals

Removing the existing branch; changing checkpoint keys of existing models.

Ngôn ngữ chính
Python
Star
0
Fork
0
Merge trung bình
11 giờ 17 phút
Pull request đã merge (30 ngày)
23

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 rnabioco/leech

Tất cả issue của rnabioco/leech

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.