-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: add inner problem names, bounds and hierarchical flag #1282
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, how about
class HierarchicalProblem(Problem):
...
def __init__(...):
inner_{x_names,lb,ub} = ...
?
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #1282 +/- ##
===========================================
- Coverage 84.41% 82.48% -1.94%
===========================================
Files 152 153 +1
Lines 12421 12450 +29
===========================================
- Hits 10485 10269 -216
- Misses 1936 2181 +245 ☔ View full report in Codecov by Sentry. |
Hmm yeah, that'll be nicer. Will change it up. EDIT: is it ok to stay in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks :)
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.