-
Notifications
You must be signed in to change notification settings - Fork 45
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
Parameters plot error when result has None
#1107
Comments
Is this the desired behaviour? If so I would add an informative Warning when there are failed starts in the |
No, I don't think so. Yeah, some warning "Skipping result {id/idx} due to non-finite / missing parameter values" would make sense. |
closed until reproduced |
Reproducing the bug is fairly straightforward with an optimisation result with any failed start, i.e. The issue is that the list of parameter vectors are converted to a numpy array before filtering out |
This appears to be specific to the way that each optimiser returns the values for x. |
Bug description
visualize.parameters
fails withValueError
when some of the optimization starts failed, i.e.result.optimize_result[i]['x']
isNone
:Expected behavior
I would expect the parameters plot to be generated without the failed starts
Comment
In the lower level process_start_indices
delete_nan_inf
is only used whenstart_indices
is set to'all_clustered'
or'first_cluster'
The text was updated successfully, but these errors were encountered: