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

FIX: Unit testing for Jax/TensorFlow cost functions. #95

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

rcjackson
Copy link
Collaborator

@rcjackson rcjackson commented Aug 30, 2023

In this commit:
* Unit testing added for Jax/TensorFlow cost functions and gradients
* Unit testing resulted in making several fixes to ensure stability of calculated gradients of Jax/TensorFlow by substituting automatic differentiation with evaluating the gradient with the explicit form like in SciPy engine.
* TensorFlow engine convergence criteria relaxed to max_iterations = 100 and < 0.1% change in cost function. Output results were shown to be insensitive to this change with much faster convergence.

The added unit testing and fixes addresses issue #94.

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