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

Modifications using numpy operations, CI #9

Merged
merged 51 commits into from
Mar 19, 2024
Merged

Modifications using numpy operations, CI #9

merged 51 commits into from
Mar 19, 2024

Conversation

V-Rang
Copy link
Collaborator

@V-Rang V-Rang commented Mar 16, 2024

Modifications done using numpy operations and CI implemented for checking code in serial and parallel in numpy_debug_v2 branch.
CI tests for:

  1. symmetric nature of Hessian
  2. slope approximately one for FD Gradient and Hessian Check.
  3. iNCG optimizer converges with "Norm of gradient less than tolerance".

Copy link
Member

@uvilla uvilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you Venugopal,
This is good work. I left you a few minor comments before we can merge.

.github/workflows/CI_testing.yml Outdated Show resolved Hide resolved
.github/workflows/CI_testing.yml Outdated Show resolved Hide resolved
.github/workflows/CI_testing.yml Outdated Show resolved Hide resolved
example/poisson_example.py Outdated Show resolved Hide resolved
example/poisson_example.py Outdated Show resolved Hide resolved
example/sfsi_toy_gaussian.py Outdated Show resolved Hide resolved
example/sfsi_toy_gaussian.py Outdated Show resolved Hide resolved
example/testing_folder/test_script.py Outdated Show resolved Hide resolved
hippylibX/modeling/modelVerify.py Outdated Show resolved Hide resolved
hippylibX/test/testing_suite_file.py Outdated Show resolved Hide resolved
Copy link
Member

@uvilla uvilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good! Just a few minor comments/fixes.

example/sfsi_toy_gaussian.py Outdated Show resolved Hide resolved
example/sfsi_toy_gaussian.py Outdated Show resolved Hide resolved
hippylibX/algorithms/linSolvers.py Outdated Show resolved Hide resolved
hippylibX/modeling/prior.py Outdated Show resolved Hide resolved
hippylibX/modeling/prior.py Outdated Show resolved Hide resolved
Copy link
Member

@uvilla uvilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few more comments

example/sfsi_toy_gaussian.py Outdated Show resolved Hide resolved
hippylibX/modeling/PDEProblem.py Outdated Show resolved Hide resolved
hippylibX/modeling/PDEProblem.py Show resolved Hide resolved
hippylibX/modeling/PDEProblem.py Show resolved Hide resolved
Copy link
Member

@uvilla uvilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more improvements are needed

hippylibX/modeling/Regularization.py Show resolved Hide resolved
hippylibX/modeling/prior.py Show resolved Hide resolved
hippylibX/modeling/prior.py Show resolved Hide resolved
Copy link
Member

@uvilla uvilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good to me

@V-Rang V-Rang merged commit bf55be1 into main Mar 19, 2024
1 check passed
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.

2 participants