convert.py silences petab 0.10's whole parameter-scale warning, including its note that converted parameter-scale priors change the MAP estimate

Đang mở
#1,043 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/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
backend

Hướng nghiên cứu

Start with _HANDLED_PETAB1TO2_WARNINGS in pybnf/petab/convert.py and the conversion behavior described in ADR-0073. Compare the posterior PyBNF imports for a converted parameter-scale prior with the v1 problem's posterior, then document the result in ADR-0073. Use that result to decide whether to adopt PEtab 0.10's reparametrize option or silence only the warning's first sentence.

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

Mô tả

question

_HANDLED_PETAB1TO2_WARNINGS in pybnf/petab/convert.py:113 silences the warning that starts "Parameter scales are not supported in PEtab v2.".

In petab 0.10.0 (petab/v2/petab1to2.py, around lines 724-751) that warning goes on to say three things:

  • log-scaled parameters are estimated on linear scale;
  • parameter-scale priors were converted to priors of the unscaled parameters, which "changes the maximum a posteriori estimate";
  • reparametrize='priors' or 'all' estimates them on log scale.

PyBNF's conversion (ADR-0073) re-injects the v1 parameter scale and rewrites each declared prior from its v1 row (#893), so the MAP may well be unchanged for PyBNF users. That should be checked rather than assumed.

To do:

  • Confirm with a converted parameter-scale prior that the posterior PyBNF imports matches the v1 problem's.
  • Say so in ADR-0073.
  • Decide whether to use petab 0.10's new reparametrize option, or to silence only the first sentence.

Found in independent review of #1017.

Ngôn ngữ chính
Python
Star
25
Fork
25
Merge trung bình
4 giờ 5 phút
Pull request đã merge (30 ngày)
10

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 lanl/PyBNF

Tất cả issue của lanl/PyBNF

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.