Accessing Data
There’s a tremendous amount of information available, just for a simple 3-step pipeline that runs locally. This pipeline can run in the cloud on a Dataflow
runner, for example, with minimum changes in configuration.
In this scenario, it’s much easier to use data that’s stored in the database, instead of browsing cloud storage buckets and VMs on a server farm.
From this point on, you can connect to a ML Metadata store either from a direct SQL connection, or by gRPC (via stub or plain old calls). Then, it’s a matter of selecting the kinds of data you want to inspect manually. This could be the schema or the statistics protobuf, for example.
Typically, you only need to access the resource identifiers of the resources. You should be able to access them via only the URI if you’re in the same environment (ex. a notebook inside a GCP Project VM).
Example Use Case
Assume that you’ve got a pipeline running in some interval (or event-based triggering) and, sometimes, you want to view the data statistics of the latest pipeline run in comparison to the previous run.
-
You need the StatisticsGen/statistics
artifacts of 2 different pipeline runs (these are the ExampleStatistics
type, with
type_id8). These can be found on theArtifacttable. -
You also need access to the artifact from the correct pipeline runs. The
Attributiontable associatescontext_idwithartifact_id. The only thing missing is to pinpoint the 2context_ids you need in order to make a simple select query. -
The
Contexttable also contains timestamp information. For example, the rowPipeline .2020–07–14T23:45:00.508181.StatisticsGenhas got acontext_id5.
Context Id 5, corresponds to Artifact Id 3 from the Attribution table. Artifact Id 3 is indeed the Statistics artifact we need.
Fortunately, kubeflow pipelines already do this visualisation automatically
Related Articles
Useful Machine Learning Sessions from the H2O World New York
14. November 2019
AI and Privacy: What’s in store for the the future?
19. April 2020
Request for deletion
About
MC.AI – Aggregated news about artificial intelligence
MC.AI collects interesting articles and news about artificial intelligence and related areas. The contributions come from various open sources and are presented here in a collected form.
The copyrights are held by the original authors, the source is indicated with each contribution.
Contributions which should be deleted from this platform can be reported using the appropriate form (within the contribution).
MC.AI is open for direct submissions, we look forward to your contribution!
Search on MC.AI
mc.ai aggregates articles from different sources - copyright remains at original authors
以上所述就是小编给大家介绍的《A comprehensive ML Metadata walkthrough for Tensorflow Extended》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
世界是平的(3.0版)
[美] 托马斯·弗里德曼 / 何帆、肖莹莹、郝正非 / 湖南科学技术出版社 / 2008-9 / 58.00元
世界变得平坦,是不是迫使我们跑得更快才能拥有一席之地? 在《世界是平的》中,托马斯·弗里德曼描述了当代世界发生的重大变化。科技和通信领域如闪电般迅速的进步,使全世界的人们可以空前地彼此接近——在印度和中国创造爆炸式增长的财富;挑战我们中的一些人,比他们更快占领地盘。3.0版新增两章,更新了报告和注释方面的内容,这些内容均采自作者考察世界各地特别是整个美国中心地带的见闻,在美国本土,世界的平坦......一起来看看 《世界是平的(3.0版)》 这本书的介绍吧!