简体   繁体   English

有没有一种方法可以使用mlfow从AWS Glue Job记录统计信息/工件?

[英]Is there a way to log stats/artifacts from AWS Glue Job using mlfow?

您能否让我知道在mlflow的当前版本中是否有这样的功能?

I think the general answer here is that you can log arbitrary data and artifacts from your experiment to your MLflow tracking server using mlflow_log_artifact() or mlflow_set_tag() , depending on how you want to do it. 我认为这里的一般答案是,您可以使用mlflow_log_artifact()mlflow_set_tag()将实验中的任意数据和工件记录到MLflow跟踪服务器,具体取决于您要执行的操作。 If there's an API to get data from Glue and you can fetch it during your MLflow run, then you can log it. 如果有一个API可以从Glue中获取数据,并且您可以在MLflow运行期间获取它,则可以对其进行记录。 Write a csv, save a .png to disk and log that, or declare a variable and access it when you are setting the tag. 编写csv,将.png保存到磁盘并记录该日志,或者在设置标签时声明一个变量并对其进行访问。

This applies for Glue or any other API that you are getting a response from. 这适用于Glue或您从中获得响应的任何其他API。 One of the key benefits of MLflow is that it is such a general framework, so you can track what matters to that particular experiment. MLflow的主要好处之一就是它是一个通用的框架,因此您可以跟踪对该特定实验重要的事情。

Hope this helps! 希望这可以帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM