-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support for bounds, initial guess, and threhold inputs #90
base: main
Are you sure you want to change the base?
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.
If we get this merged, the unit testing from my merge may help verify the bounds are properly implemented :)
@@ -27,6 +27,11 @@ class ETP_SRI_LinearFitting(OsipiBase): | |||
required_initial_guess_optional = False | |||
accepted_dimensions = 1 | |||
# Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most? | |||
|
|||
# Supported inputs in the standardized class | |||
supported_bounds = False |
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.
I don't understand how these are used.
Are these now properties of the class that I can ask using self.supported_bounds? That would help with testing :)
@@ -27,6 +27,11 @@ class PvH_KB_NKI_IVIMfit(OsipiBase): | |||
required_initial_guess_optional =False | |||
accepted_dimensions = 1 # Not sure how to define this for the number of accepted dimensions. Perhaps like the thresholds, at least and at most? | |||
|
|||
# Supported inputs in the standardized class | |||
supported_bounds = False |
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.
Do we need to ask authors to double check whether these booleans are correct for their methods?
Went through each standardized algorithm and checked/added support for bounds, initial guesses, and thresholds where applicable.
Additionally, the algorithms now have the following boolean attributes which can be used to filter algorithms in testing.
supported_bounds
supported_initial_guess
supported_thresholds