Closed Doresic closed 7 months ago
Attention: 3 lines
in your changes are missing coverage. Please review.
Comparison is base (
b455307
) 84.41% compared to head (443e58d
) 82.48%.
Files | Patch % | Lines |
---|---|---|
pypesto/problem/hierarchical.py | 88.00% | 3 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Hi, how about
class HierarchicalProblem(Problem): ... def __init__(...): inner_{x_names,lb,ub} = ...
?
Hmm yeah, that'll be nicer. Will change it up.
EDIT: is it ok to stay in pypesto/problem/base.py
? Or should it be in pypesto/problem/hierarchical.py
. Or is that confusing, and it should be in pypesto/hierarchical/problem
or something similar?
Added a hierarchical flag to
Problem
indicating it is a hierarchical problem. In that case, it containsinner_x_names
,inner_lb
, andinner_ub
of interpretable inner parameters (scaling, offset, noise). I exclude non-interpretable ones (spline & ordinal) as there can easily be too many of them and they are truly hard to interpret by themselves.