-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
predictive explorer: report unknow boundaries #175
Comments
In Can you give me an instance/example of when we may encounter this situation? |
See the example here https://preliz.readthedocs.io/en/latest/examples/observed_space_examples.html#predictive-explorer here the boundaries for and if you change the line the boundary will turn to be (-inf, inf), which is correct. But if you instead have something like The easy solution is not to provide information for the boundaries and let the code fail, which is not that bad because if the user sets a wrong value, the plot will return an error and it will go back to normal if the user sets a good value again. So maybe it is enough if we catch that error and return a nicer message just saying, "Hey the value you provide is bad, try something different"... Having said that it would be nice to provide some info for the boundaries, even if we can not always provide that info (this is the topic of this issue). A good solution is to get that information when parsing the function and detecting when we do not know. An alternative is to use a brute-force approach (maybe only for the things we don't know) to automatically try different values at initialization and catch when we get errors |
In #173 sliders (now textboxes) become aware of a few functions that can be applied to the parameters. Providing a truly general solution will probably be too hard, and it may require a different approach to parse the function. Something easier may be to detect 3 categories, no function has been applied, a function/operation is applied and we can solve it, and a function/operation is applied but we don't have a clue what is going on, for this later case we could return something like "(unk, unk)", signaling that the function is not able to guess the boundaries of the parameter.
The text was updated successfully, but these errors were encountered: