convert.py silences petab 0.10's whole parameter-scale warning, including its note that converted parameter-scale priors change the MAP estimate
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
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ả
_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
reparametrizeoption, 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
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lanl/PyBNF
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug tech debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug silent-incorrectness
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
software-mansion-labs/Diplomat#20 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaCó thể đã có người làm @lijy91 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
View Counts discarded due to field name mismatchCó thể đã có người làm @rsiva0400 đã nhận hôm nay. Đang mởsite-bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Model version publishes the new UK firm entity as a personCó thể đã có người làm @vahid-ahmadi đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PolicyEngine/policyengine.py#764 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
spcl/HPCAgent-Bench#264 ·
Maintainer thường phản hồi trong vòng 1 ngày