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

Add new functions/methods to featurize module #330

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

naik-aakash
Copy link
Collaborator

@naik-aakash naik-aakash commented Sep 10, 2024

Closes #329

Changes

  • Add ultiliy functions to compute reduced masses, electronegativity and sort dict by values
  • Add the possibility to modify default lobsterpy kwargs in featurizers
  • Add ICOXX featurizer with BWDF functionality
  • Add tests

@naik-aakash naik-aakash marked this pull request as draft September 10, 2024 15:44
@naik-aakash naik-aakash self-assigned this Sep 10, 2024
@naik-aakash naik-aakash added the enhancement New feature or request label Sep 10, 2024
@naik-aakash
Copy link
Collaborator Author

Hi @JaGeo, there seems to be some issue with coverage artificats not being generated and uploaded in CI, I have not been able to pinpoint the cause yet. Will check again in detail tomorrow. Leaving this as a comment only for my reference here.

@naik-aakash
Copy link
Collaborator Author

Could be simply bug associated with a new release of pytest today. Will have to check downgrading it

@JaGeo
Copy link
Owner

JaGeo commented Sep 10, 2024

@naik-aakash sure. Don't worry!

@naik-aakash
Copy link
Collaborator Author

@naik-aakash sure. Don't worry!

issue was with upload artificats update ignoring hidden files from being uploaded. It should be fixed now in PR #331

"""
atom1 = element(atom_pair[0])
atom2 = element(atom_pair[1])
return (atom1.atomic_weight * atom2.atomic_weight) / (atom1.atomic_weight + atom2.atomic_weight)
Copy link
Owner

Choose a reason for hiding this comment

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

I think statistics here would also be interesting: min/max/mean etc

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You mean just the statistics for reduced masses of atom pairs, right? Or also atomic_weight-specific statistics?

Copy link
Owner

@JaGeo JaGeo Sep 11, 2024

Choose a reason for hiding this comment

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

Instead of using the reduced mass, you could also order by min, mean, max in the bond

Copy link
Collaborator Author

@naik-aakash naik-aakash Sep 16, 2024

Choose a reason for hiding this comment

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

I now inlcude the min, mean, max stats per bond type as per the suggestion

@naik-aakash naik-aakash marked this pull request as ready for review September 16, 2024 12:39
@naik-aakash naik-aakash changed the title [WIP] add new functions/methods to featurize module Add new functions/methods to featurize module Sep 16, 2024
@naik-aakash naik-aakash marked this pull request as draft September 17, 2024 09:08
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

Successfully merging this pull request may close these issues.

Update featurizer module with more options
2 participants