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

Interface fix (#44) #1

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

adela-habib
Copy link
Owner

  • Added database options to remove outlier data

    def remove_high_property(self,key,perAtom,species_key=None,cut=None,std_factor=10):
    """
    This function removes outlier data from the dataset
    Must be called before splitting
    "key": the property key in the dataset to check for high values
    "perAtom": True if the property is defined per atom in axis 1, otherwise property is treated as full system
    "std_factor": systems with values larger than this multiplier time the standard deviation of all data will be reomved. None to skip this step
    "cut_factor": systems with values larger than this number are reomved. None to skip this step. This step is done first.
    """

  • unnecessary index type constraint for vectors (unnecessary index type constraint for vectors lanl/hippynn#31) (unnecessary index type constraint for vectors (#31) lanl/hippynn#32)

This was causing lammps interfaces not to build correctly.

  • Removed ase interface reference from calculator

This causes errors with later versions of ase

  • changed model to float 32

  • Fixed devide in targes.py(70)

  • Fixes for lammps and ase interface

lammps: reduce float64 to float32 for speed
ase: remove reference to calculator

  • Reverted merge mistakes with database.py

* Added database options to remove outlier data

    def remove_high_property(self,key,perAtom,species_key=None,cut=None,std_factor=10):
        """
        This function removes outlier data from the dataset
        Must be called before splitting
        "key": the property key in the dataset to check for high values
        "perAtom": True if the property is defined per atom in axis 1, otherwise property is treated as full system
        "std_factor": systems with values larger than this multiplier time the standard deviation of all data will be reomved. None to skip this step
        "cut_factor": systems with values larger than this number are reomved. None to skip this step. This step is done first.
        """

* unnecessary index type constraint for vectors (#31) (#32)

This was causing lammps interfaces not to build correctly.

* Removed ase interface reference from calculator

This causes errors with later versions of ase

* changed model to float 32

* Fixed devide in targes.py(70)

* Fixes for lammps and ase interface

lammps: reduce float64 to float32 for speed
ase: remove reference to calculator

* Reverted merge mistakes with database.py

---------

Co-authored-by: Nebgen <315312@win.lanl.gov>
Co-authored-by: Nicholas Lubbers <56895592+lubbersnick@users.noreply.github.com>
@adela-habib adela-habib temporarily deployed to publish October 18, 2023 21:22 — with GitHub Actions Inactive
@adela-habib adela-habib reopened this Oct 18, 2023
@adela-habib adela-habib merged commit 0ffb561 into adela-habib:development Oct 18, 2023
2 checks 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