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

オープン
#397 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python, pytorch

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
0
フォーク
0
平均マージ
11時間 17分
マージ済み PR(30日)
23

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rnabioco/leech のほかの issue

rnabioco/leech の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。