Skip to content

Use AutoFiniteDifferences with factor keyword to deal with noise #177

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

Closed
1-Bart-1 opened this issue Jun 10, 2025 · 2 comments
Closed

Use AutoFiniteDifferences with factor keyword to deal with noise #177

1-Bart-1 opened this issue Jun 10, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@1-Bart-1
Copy link
Member

https://github.com/JuliaDiff/FiniteDifferences.jl?tab=readme-ov-file#dealing-with-numerical-noise

This could be more robust than using AutoFiniteDiff, especially since the absstep in AutoFiniteDiff is not respected: JuliaDiff/DifferentiationInterface.jl#811

Another good alternative could be to use AutoForwardDiff, although performance might be bad because of the nonlinear solver iterations.

@1-Bart-1 1-Bart-1 added the enhancement New feature or request label Jun 10, 2025
@gdalle
Copy link

gdalle commented Jun 11, 2025

The absstep bug is fixed in DI's latest release v0.7.1

@1-Bart-1
Copy link
Member Author

Not necessary to implement this then, AutoFiniteDiff works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants