Skip to content
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

Cost gradient support #936

Merged
merged 26 commits into from
Aug 30, 2023
Merged

Cost gradient support #936

merged 26 commits into from
Aug 30, 2023

Conversation

HDembinski
Copy link
Member

@HDembinski HDembinski commented Aug 29, 2023

Add gradient support for all builtin cost functions except the Template cost function (whose gradients may be added later).

Gradient support means the following. You can now pass a user-defined model gradient to each supported cost function. Minuit will automatically detect whether the gradient is available and make use of it. This behavior is now properly documented and can be overridden by passing a boolean to the keyword grad of the Minuit constructor.

@HDembinski HDembinski merged commit dbc3b4f into develop Aug 30, 2023
7 checks passed
@HDembinski HDembinski deleted the cost_gradient_support branch August 30, 2023 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant