Skip to content

Refactoring GRS with Ensemble Score#10

Draft
coreen-mullen wants to merge 1 commit intoFitSNAP:developfrom
coreen-mullen:refactor
Draft

Refactoring GRS with Ensemble Score#10
coreen-mullen wants to merge 1 commit intoFitSNAP:developfrom
coreen-mullen:refactor

Conversation

@coreen-mullen
Copy link
Copy Markdown

These changes are intending to add the ability to get the score of multiple structures in the refactored version of the code.

print("Get ensemble called.")
print("Using elems:", elems)
scores = None
try:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

These options will need to be moved out of GRS.py. Use the io method and tis sections to append the settings you need, and use the other ones that are already defined.

#Sub-classes of Scoring will be versions of this representation loss function (Moments, Entropy, etc), allowing
#for custom verions to be added without trouble.

n_totconfig = 10
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Dont want to bury inputs deep in the code, use the io method and pass the read in config to the functions that need it.

@coreen-mullen coreen-mullen marked this pull request as draft October 9, 2025 21:20
@coreen-mullen
Copy link
Copy Markdown
Author

I converted this PR into a draft, it appears that there is an implementation for the multiple structure score. I will update this pull request in the future as a place to add to the example/ folder.

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