Skip to content

Add support for polynomial prior#15

Merged
sayeg84 merged 3 commits intomainfrom
feat/polynomial_prior
Apr 29, 2025
Merged

Add support for polynomial prior#15
sayeg84 merged 3 commits intomainfrom
feat/polynomial_prior

Conversation

@sayeg84
Copy link
Collaborator

@sayeg84 sayeg84 commented Apr 1, 2025

This pull request adds support for using MLCG tk with a QuarticAngles prior that uses a degree-4 polynomial to fit angles.

This PR is coupled to another PR in mlcg implementing such prior.

The examples/configuration_files/carbon_alpha_configs/ca_trpcage_priors.yaml has been modified to use the new quartic prior. It can be tested with this.

Copy link
Contributor

@lianctrl lianctrl left a comment

Choose a reason for hiding this comment

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

For the records, I used the polynomial fit here implemented to fit quartic angles prior onto the NTL9 dataset and the fit looks good, with consistently keeping the features we discussed:

  • higher energy barriers at the boundaries
  • keeping convexity at the boundaries

angles0
angles1
angles2
angles3
angles4
angles5
angles6

@sayeg84
Copy link
Collaborator Author

sayeg84 commented Apr 29, 2025

LGTM, wil squash and merge

@sayeg84 sayeg84 merged commit 3659f87 into main Apr 29, 2025
@sayeg84 sayeg84 deleted the feat/polynomial_prior branch April 29, 2025 10:36
@sayeg84 sayeg84 mentioned this pull request Sep 30, 2025
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