Git Product home page Git Product logo

Comments (1)

hughmiao avatar hughmiao commented on May 6, 2024

@Jeffwan, thanks for the thoughts! The MLMD API is evolving, we are happy to hear your use case and better support those. Please see the comments inline below.

In the last step of official example, it only groups model artifacts to an experiment. I saw a few datasets were created as well. I assume all the artifacts should be group to experiment. That means attribution should have same number as artifact type?

Yes, conceptual, these can be grouped to the experiment too. It depends on the semantics of the user-defined experiment. Depending on your use case, the attribution / association can be used accordingly.

Another problem I noice it there's no separate methods for put_attribution and put_associations. Is there a plan to support them separately? Or you think that's unnecessary?

It was not introduced based on the current integration use cases (e.g., tfx). These are often attached together, e.g., a trainer reads data1 and produces model1, so the {input-artifact, execution, output-artifact} tuple are often attached to the same context. Having a single call, these edges are inserted atomically in a single transaction.

You may find put_execution [1] useful to attach these edges too. It is a transaction where not only the edges are inserted, but also the contexts/artifacts related to an execution may be upserted together too.

[1] https://www.tensorflow.org/tfx/ml_metadata/api_docs/python/mlmd/metadata_store/MetadataStore#put_execution

from ml-metadata.

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.