GithubHelp home page GithubHelp logo

Handle missing labels about mace HOT 7 CLOSED

davkovacs avatar davkovacs commented on June 10, 2024
Handle missing labels

from mace.

Comments (7)

gabor1 avatar gabor1 commented on June 10, 2024

from mace.

ilyes319 avatar ilyes319 commented on June 10, 2024

One can now specify --loss_fn="forces_only" to train on data without energies. We still need to find a solution for mixed missing data, probably some masking scheme.

from mace.

ilyes319 avatar ilyes319 commented on June 10, 2024

The models should now be able to handle missing labels on specific config type since #22 and #26. @davkovacs @bernstei How important is to support missing labels within the same config types. If it is important, how is it handled in GAP? It would be a per config weighting?

from mace.

bernstei avatar bernstei commented on June 10, 2024

What do you mean by missing "labels"? Missing quantities like energy/forces/virial ?

from mace.

ilyes319 avatar ilyes319 commented on June 10, 2024

Yes exactly.

from mace.

bernstei avatar bernstei commented on June 10, 2024

Per-config weights are supported, and that's how missing data is handled. In GAP I believe that the design matrix construction is not batched, so for every config rows are either added or not depending on what quantities are available.

Per-config weights are done in config_from_atoms() in https://github.com/ACEsuit/mace/blob/develop/mace/data/utils.py. For example line 133 reads a weight from Atoms.info["config_energy_weight"], or sets the weight to 0 if the energy is missing in line 139

from mace.

ilyes319 avatar ilyes319 commented on June 10, 2024

Perfect, so I think we need to add that to the readme, and close this issue.

from mace.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.